随笔分类 - 工具-git
摘要:https://www.cnblogs.com/Jing-Wang/p/10991008.html https://www.runoob.com/git/git-workspace-index-repo.html
阅读全文
摘要:Gerrit的commit-msg hook https://blog.csdn.net/taiyangdao/article/details/71079021 Gerrit 添加review # 1 @PLUGIN@ plugin [reviewers] enableREST = true ena
阅读全文
摘要:git push origin HEAD:refs/for/master的意思 git push <remote 名字> <本地分支的名字> : <远程库的名字> git push origin HEAD:refs/for/master git push 肯定是推送 origin : 是远程的库的名
阅读全文
摘要:清除Git提交历史 # 放弃本地修改 # 1 git reset --hard origin/master # 放弃所有修改 # 2 git restore <file>..." to discard chang # 3 git checkout -- README.MD # git checkou
阅读全文
浙公网安备 33010602011771号