Skip to content

Instantly share code, notes, and snippets.

@bubbobne
Last active July 15, 2017 09:56
Show Gist options
  • Save bubbobne/47017106854a862dec23d4c36dc3ae5c to your computer and use it in GitHub Desktop.
Save bubbobne/47017106854a862dec23d4c36dc3ae5c to your computer and use it in GitHub Desktop.
#git config --global core.editor nano
git config --global user.name ""
git config --global user.email ""
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"
#da https://www.leaseweb.com/labs/2013/08/git-tip-beautiful-colored-and-readable-output/
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment