Git小技巧 2020-04-30 Git 约 119 字 预计阅读 1 分钟 文章目录 gitignore忽略项没生效 git 常用命令缩写 这是一个长期更新的文章,省的再丢了git的一些配置。 gitignore忽略项没生效 分别执行下方命令 1 2 3 4 5 git rm -r --cached . git add . git commit -m 'update .gitignore' git 常用命令缩写 1 2 3 4 5 6 7 8 9 [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 文章作者 P.X.C 上次更新 2020-04-30 许可协议 不允许任何形式转载。