Git小技巧
文章目录
这是一个长期更新的文章,省的再丢了git的一些配置。
gitignore忽略项没生效
分别执行下方命令
git rm -r --cached .
git add .
git commit -m 'update .gitignore'
git 常用命令缩写
[alias]
st = status
co = checkout
br = branch
cf = config
ci = commit
pr = pull --rebase
rc = rebase --continue
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
文章作者 pengxiaochao
上次更新 2020-04-30
许可协议 不允许任何形式转载。