Skip to content

Instantly share code, notes, and snippets.

@fancyoung
Last active September 26, 2015 08:38
Show Gist options
  • Save fancyoung/1069692 to your computer and use it in GitHub Desktop.
Save fancyoung/1069692 to your computer and use it in GitHub Desktop.
git config file(~/.gitconfig) git配置文件
[core]
editor = vi
[user]
name = yourname
email = youremail@gmail.com
[alias]
co = checkout
st = status
br = branch
ci = commit
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
last = log --pretty=oneline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment