随笔分类 -  工具-git

摘要:https://www.cnblogs.com/Jing-Wang/p/10991008.html https://www.runoob.com/git/git-workspace-index-repo.html 阅读全文
posted @ 2021-03-04 10:52 该显示昵称已被使用了 阅读(75) 评论(0) 推荐(0)
摘要:Gerrit的commit-msg hook https://blog.csdn.net/taiyangdao/article/details/71079021 Gerrit 添加review # 1 @PLUGIN@ plugin [reviewers] enableREST = true ena 阅读全文
posted @ 2021-02-05 17:43 该显示昵称已被使用了 阅读(124) 评论(0) 推荐(0)
摘要:git push origin HEAD:refs/for/master的意思 git push <remote 名字> <本地分支的名字> : <远程库的名字> git push origin HEAD:refs/for/master git push 肯定是推送 origin : 是远程的库的名 阅读全文
posted @ 2021-02-05 16:30 该显示昵称已被使用了 阅读(219) 评论(0) 推荐(0)
摘要:清除Git提交历史 # 放弃本地修改 # 1 git reset --hard origin/master # 放弃所有修改 # 2 git restore <file>..." to discard chang # 3 git checkout -- README.MD # git checkou 阅读全文
posted @ 2020-08-16 20:13 该显示昵称已被使用了 阅读(103) 评论(0) 推荐(0)