Last active
September 5, 2021 17:43
-
-
Save PatrickNausha/7201aafdbe7923b531b31e1c0f35492d to your computer and use it in GitHub Desktop.
My gitconfig
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
[branch] | |
autosetuprebase = always | |
[alias] | |
co = checkout | |
st = status -s | |
lg = log --oneline --graph --color --decorate | |
cp = cherry-pick | |
lb = branch --sort=-committerdate --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))' | |
up = !git fetch && git rebase --autostash FETCH_HEAD | |
[core] | |
autocrlf = false | |
[pull] | |
rebase = true | |
[push] | |
default = simple |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment