git總結 -- 配置文件
ubuntu系統下,用戶根目錄的.gitconfig文件。
git config --global 來添加
[color]
ui = true
[user]
name = *********
email = **********
[alias]
st = status
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
[core]
editor = vi