Skip to content

Instantly share code, notes, and snippets.

@musicq
Created December 10, 2020 07:03
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 musicq/6faaf2780cd533599af7a4d10315139a to your computer and use it in GitHub Desktop.
Save musicq/6faaf2780cd533599af7a4d10315139a to your computer and use it in GitHub Desktop.
Git global configure
[user]
name = musicq
email = liang.kui@hotmail.com
[pull]
rebase = true
[alias]
co = checkout
s = status -s
a = add
c = commit
cm = commit -m
b = branch
df = diff
l = log
ll = log --oneline
ls = log --stat
last = log -1 HEAD --stat
pl = pull
ps = push
rv = remote -v
dv = difftool -t vimdiff -y
gl = config --global -l
se = !git rev-list --all | xargs git grep -F
[help]
autocorrect = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment