Skip to content

Instantly share code, notes, and snippets.

@XiaochenCui
Last active January 4, 2017 05:17
Show Gist options
  • Save XiaochenCui/a7113a317ddedfdb31af8213f4e323f2 to your computer and use it in GitHub Desktop.
Save XiaochenCui/a7113a317ddedfdb31af8213f4e323f2 to your computer and use it in GitHub Desktop.
xiaochen's git global config
[user]
name = XiaochenCui
email = [email protected]
[push]
default = simple
[credential]
helper = store
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset %C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
co = checkout
br = branch
ci = commit
st = status
unstage = 'reset HEAD --'
last = 'log -1 HEAD'
[push]
default = simple
[merge]
tool = kidff3
[diff]
tool = diffmerge
[core]
editor = vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment