Last active
September 26, 2015 08:38
-
-
Save fancyoung/1069692 to your computer and use it in GitHub Desktop.
git config file(~/.gitconfig) git配置文件
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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