Last active
November 30, 2022 21:02
-
-
Save neo/313eab8bffbb90bef8a39804f06f0999 to your computer and use it in GitHub Desktop.
Git Global Configs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global user.name "Neo" | |
git config --global user.email "neo.li@jam3.com" | |
git config --global push.default current | |
git config --global commit.gpgsign true | |
git config --global credential.helper store |
Mac Keychain
git credential-osxkeychain
git config --global credential.helper osxkeychain
WSL
git config --global credential.helper "/mnt/c/Program\\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe"
Auto Squash
git config --global rebase.autosquash true
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://help.github.com/articles/caching-your-github-password-in-git/