其他分享
首页 > 其他分享> > .gitconfig

.gitconfig

作者:互联网

[user]
	email = email.com
	name = username
[credential]
	helper = store
[alias]
        st = status
        ci = commit
        co = checkout
        br = branch
        lg = log -20 --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold magenta)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'
        lg1 = log -20 --graph --abbrev-commit --decorate --date=short --format=format:'%C(bold magenta)%h%C(reset) - %C(bold green)(%ad)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'
        lg2 = log -20 --graph --abbrev-commit --decorate --date=default --format=format:'%C(bold magenta)%h%C(reset) - %C(bold green)(%ad)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'
        lg50 = log -50 --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold magenta)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'
        lg100 = log -100 --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold magenta)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'
        lg1000 = log -1000 --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold magenta)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'
[push]
        default = simple
[core]
        editor = vim

标签:reset,bold,format,--,gitconfig,commit,white
来源: https://www.cnblogs.com/anxbai/p/15022290.html