Last active
October 6, 2020 10:31
-
-
Save eyalgo/48c736a9cb1f6d466b8603851ccb0106 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
git config --global user.name 'Eyal Golan' | |
# git config --global user.email "the@email" | |
git config --global alias.st status | |
git config --global alias.co checkout | |
git config --global alias.ci 'commit -v' | |
git config --global alias.br branch | |
git config --global alias.cob 'checkout -b' | |
git config --global alias.por 'push -u origin' | |
git config --global alias.unstage 'reset HEAD --' | |
git config --global alias.last 'log -1 HEAD' | |
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative" | |
git config --global commit.template '~/.gitmessage' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment