[user] name = userName email = xxx@yyy [core] editor = vim packedGitLimit = 512m packedGitWindowSize=512m compression = 0 [alias] st = status br = branch -vv lg = “log —graph —no-merges —color —date=format:’%Y-%m-%d %H:%M:%S’ —pretty=format:’%Cred%h%Creset -%C(yellow)%d%Cblue %s %Cgreen(%cd) %C(bold blue)<%an>%Creset’ —abbrev-commit” last = log -1 [commit] template = ~/.git_msg [credential] helper = store
3. 设置commit模板
file_name: .git_msg
Link: Description:
Team: Bugfix or Future: ```