simpel.cc git not working - wrong gh version
After updating gh with homebrew you get an error message like this:
/home/c.zelck/.linuxbrew/Cellar/gh/VERSION/bin/gh auth git-credential get: line 1: /home/c.zelck/.linuxbrew/Cellar/gh/VERSION/bin/gh: No such file or directory
Git uses gh for authenticating with github and its config links to the old gh version.
You have to update .gitconfig with the current gh version.
gh --version
Look at:
git config --edit --global
Open
vim ~/.gitconfig
and adapt following line (currently #55) with current gh version:
[credential "https://github.com"]
helper = !/home/c.zelck/.linuxbrew/Cellar/gh/VERSION/bin/gh auth git-credential
No comments to display
No comments to display