作者:樱花落下的那天 | 来源:互联网 | 2023-10-11 19:22
vi~.gitconfig~意思为当前用户根目录编辑[user]nameliudeyunemailliudeyun@test.com[credential]helpermanage
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