Last active
January 5, 2021 08:59
-
-
Save lhoang/a1153117ab9731195fa047208e0b9d2e to your computer and use it in GitHub Desktop.
Git configuration
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 http.proxy http://proxy:3128 | |
git config --global user.name "user name" | |
git config --global user.email "[email protected]" | |
git config --global alias.lola 'log --graph --decorate --pretty=oneline --abbrev-commit --all' | |
git config --global alias.undo '!f() { git reset --hard $(git rev-parse --abbrev-ref HEAD)@{${1-1}}; }; f' | |
git config --global pull.rebase true | |
git config --global rerere.enabled true | |
# Unix | |
git config --global credential.helper store | |
# win | |
git config --global credential.helper wincred | |
## reset password git | |
fatal: Authentication failed for '****' | |
git config --unset credential.helper wincred | |
git config --global credential.helper wincred | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment