A simple git credentials helper for GitHub
- Its way less bloated than Git Credential Manager
- You can use it together with any other git credential helper of choice
Download the .deb from the latest release and run dpkg -i file_you_just_downloaded.deb
Install git-credential-github form the AUR. ArchLinux wiki
NOTE: Configuring changed after v2.2 pre v2.2 config
~/.gitconfig
[credential "https://github.com"]
helper = cache
helper = github # important that you put it last because we only need to run gcg when other helpers have failed to give credentials
This sets the credential helper for github using the cache helper with a timeout of 1 day
~/.gitconfig
[credential]
useHttpPath = true # makes git give the whole path instead of just https://github.com
[credential "https://github.com/Xgames123"] # change to your name
username=Xgames123 # change to your name
helper = cache
helper = github
~/.gitconfig
[credential]
useHttpPath = true # makes git give the whole path instead of just https://github.com
helper = pass -r 3 -t ~/.config/git-credential-pass/default.template -p git/{protocol}/{host}/main
[credential "https://github.com/Xgames123"] # change to your name
username=Xgames123 # change to your name
helper = github
[credential "https://codeberg.org"]
username=ldev
If you find a bug, get an error or the docs are wrong.
- Create an issue
- Message me <[email protected]>
- Message me on discord ldev105
- install reltools
- run makepkgx --pkgformat deb inside the packaging directory