I am using GitAhead on an existing repo, and trying to pull or fetch to get updates.
GitAhead is giving me this error:
Unable to fetch from 'origin' - config value 'autoupdate.enable' was not found
Git itself doesn't seem to have this config parameter .. so not sure what GitAhead is expecting.
Appreciate any pointers/solutions.
It looks like this is a config parameter of GitAhead so it might be an internal bug. Does it happen with the latest version of GitAhead / any existing git repository?
The developer might help you / fix the bug if you raise an issue.
I have been using GitAhead for a while, but mainly for viewing the merge graphs. I just tried using GitAhead to do a pull, and I ran into this problem as well.
I couldn't find any solutions online, but I found that GitAhead (version 2.62.2 on CentOS 7.8) does not understand:
ssh://hostname/path_to_repo
I get the error in the original question.
However, the solution for me was to use the following URL when cloning from a remote repository:
git clone user_id#hostname:/path_to_repo
After creating another clone with this URL, I'm able to pull in GitAhead.
Related
I want to push some changes to my GitHub repository and I receive the following error, which I have been trying to solve for the last couple of hours.
error: cannot run rpostback-askpass: No such file or directory
fatal: could not read Username for 'https://github.com': Device not configured
What I have just done is
Open a new repository on Github
Go to code and copy the https link
Go to R Studio > New Project > Version Control > Git
Paste the https link to repository URL
Write some code and save it to an R file
Select the file > Commit > and Push
and I receive this error, which I was not getting previously. (Note that I took a long break and during this time I have not committed anything to Github but previously, I have not face any error like that.)
I have searched some solution on the internet, while some suggested to use SSH key instead of https, I could not find a neat solution (that might be because I am not familiar with the Github workflow)
Therefore, I would appreciate if you can just provide me a clean solution on how to solve this problem. Thank you for your attention beforehand.
PS: I am using a Mac if that would matter.
This should be linked to the lack of credential helper which means Git is trying to read credentials from your terminal, since it exhausted other options.
Check your git config --global credential.helper first.
Try and install GCM, the Git Credential Manager (which is no longer GCM-core).
And reference it in your config:
git config credential.helper manager
As the previous version of this question was profoundly vague due to my lack of knowledge of Git, let me revise it so that I can be more clear about the problem I am encountering.
Today, I opened a new GitHub repository by cloning its link from Github to R Studio version control so that I could paste the new repository’s link to Git and therefore start to make a new website. However, when I tried this, I received this error, which opened a new page. It was saying that
"Git was not detected on the system path. To create projects from Git repositories, you should install Git and then restart R Studio. Note that if Git is installed and not on the path, then you can specify its location using the Preferences dialog".
As Git was installed on my PC, I am using MacOS, I thought the problem was with the path. To solve it, I tried to change the Git's location from the R Studio -> Preferences -> Git/SVN panel. While I am not sure what its initial location was, I changed it to ~/Desktop/GitHub Desktop.app. After I did this, and as the problem was not solved, I searched the web and saw that the location should be something like usr/bin/git. I tried to reformat the location as usr/bin/git but I could not since I could not find usr file in the location. When I later posted the question in this forum, one of the users kindly asked me to check the version of my Git. To this end, I wrote the git --version in the mac's terminal and I received this error:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
I searched this error on the web and I looked at several solutions.
One of them was advising to run xcode-select -switch /Library/Developer/CommandLineTools but when I did this, I received this error
xcode-select: error: invalid developer directory '/Library/Developer/CommandLineTools'
By editing this post, I tried to be specific as much as I could, but as previously stated, since I do not know Git very much, the question might still be vague.
So I installed the latest version of Gitkraken(v5.02) and wanted to try the new gpg key feature. Firstly, the documentation says that if you have an existing key, gitkraken will automatically use it, but mine doesn't.
Also, when in the gpg settings menu, I chose the sign commits by default option,
I get the following error:
Though I tried deleting the .gitconfig.lock file and even reinstalled gitkraken, I can't get it to work.
Am I missing something obvious?
EDIT: I installed gitkraken using snap:
sudo snap install gitkraken
I asked this question on the gitkraken help slack channel. They suggested using the .deb installer instead of snap. It worked exactly as expected.
The .deb installer fixes both the auto-detection of gpg keys problem as well as the "failed to lock file problem".
In the same chat, someone else responded that snap probably was n't working properly due to the issue of sandboxing.
The issue with snap may be solved in more recent updates from gitkraken.
So I am having this issue for the past 8-9 hours. I have been trying to resolve it by googling around.
This is what I have tried so far.
1) Totally uninstalled node and npm.
2) Totally uninstalled meteor. Deleted all the local/.meteor data. Searched for meteor in entire C drive and deleted it. Restarted the PC.
3) Reinstalled node, npm and meteor js again. (Did steps 1-3 in safe mode also and tried 3 times.)
4) Ran command and got this error again. "C:\Users\Admin\AppData\Local.meteor\packages\meteor-tool\1.4.4_2\mt-os.window
s.x86_32\dev_bundle\lib\node_modules\q\q.js:70
hasStacks = !!e.stack;
^
RangeError: Maximum call stack size exceeded".
Note: The same code works for me in another system, so apparently code is fine the issue is with meteor and my pc.
Then I found that creating new windows account and installing meteor there can make it work. So I tried to do that as well but no luck.
I need help to resolve this as I don't have any clue what to do next.
Meteor version is: 1.4
Node version is: 6.10.3
NPM version is: 3.10.10
Apologies for late response, just had the same problem and was eventually able to solve it. The problem is that windows doesn't like long file paths. Unfortunately, meteor is full of them so the installer seems to miss those files.
Try this:
Install meteor if its not already.
navigate to C:\Users\%username%\AppData\Local and delete the
.Meteor folder.
Download the installation archive:
https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.5/meteor-bootstrap-os.windows.x86_32.tar.gz
use 7-zip to extract the .Meteor folder somewhere with a shorter
path; ie: C drive root directory. Make sure you are running 7-Zip as
admin, and extract it using 7-Zips interface. Don't drag and drop as
this will extract to the temp folder first.
Go to your Environment Variables (in Control Panel/Advanced System
Settings), edit Path, and change the .Meteor directory to where you extracted the folder.
Open up CMD, cross your fingers, and enter meteor --version
Hope this helps any desperate souls out there.
I'm trying download scripts onto my atom editor. but I'm getting a strange error that I believe has something to do with node? This is one of the first packages I've tried to install so any help would be great. Here is the error.
You seem to have some connection problem to github. You should try to clone that repositry directly with git. Most likely ssh-connections don't work from your location..