git總結 -- 配置文件

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


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章