Last active
October 17, 2021 06:30
-
-
Save marcello-telles/818660538b934a1a5bcc657902b1e531 to your computer and use it in GitHub Desktop.
git setup
This file contains hidden or 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
#Credentials | |
git config --global user.name "Name Surname" | |
git config --global user.email "[email protected]" #or work email alternative | |
#Editor | |
git config --global core.editor "vim" | |
#Aliases | |
git config --global alias.cm commit | |
git config --global alias.st "status -sb" #simplified git status | |
git config --global alias.co checkout | |
git config --global alias.ph push | |
#Utilities | |
git config --global fetch.prune true #auto prune | |
git config --global rebase.missingCommitsCheck warn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment