在当前用户目录下创建.gitconfig文件
vim .gitconfig
内容格式如下:
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[alias]
co = checkout
st = status
ci = commit
br = branch
df = diff