vi ~/.gitconfig ~意思为当前用户根目录 编辑 [user] name = liudeyun email = liudeyun@test.com [credential] helper = manager [core] safecrlf = false autocrlf = false [alias] st = status ci = commit co = checkout b = branch pl = pull ps = push t = tag
保存后,在使用git直接用 git pl 代表git pull
原文:https://www.cnblogs.com/yszr/p/12895525.html