Skip to content

Instantly share code, notes, and snippets.

@batisteo
Created July 19, 2018 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save batisteo/022c9814be968744a5ba11dfb5ad301b to your computer and use it in GitHub Desktop.
Save batisteo/022c9814be968744a5ba11dfb5ad301b to your computer and use it in GitHub Desktop.
Gitconfig
[core]
editor = vim
excludesfile = /home/batisteo/.gitignore_global
[color]
ui = true
[alias]
co = checkout
br = branch
ci = commit
st = status
unstage = reset HEAD --
last = log -1 HEAD
loog = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lg = log --color --pretty=format:'%C(yellow)%h%Creset %s %Cred%an%Creset %Cgreen(%ci)' --abbrev-commit
[push]
default = current
[pull]
default = current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment