git配置文件位置: 当前用户目录下的隐藏文件.gitconfig
找不到原因:没有配置name
解决办法: git config --global user.name 'your name' git config --global user.email 'your email'
设置命令简写:配置文件下加
[alias]
co = checkout
ci = commit
br = branch
st = status
mg = merge --no-ff
ci = commit
co = checkout
ci = commit
br = branch
st = status
mg = merge --no-ff
ci = commit