![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
GIT
GIT COMMAND
Super_ever
这个作者很懒,什么都没留下…
展开
-
Gitlab Copy代码到其他分组
代码先Fork到指定组内git clone 到本地git tag 查看指定taggit show <tagname> 得到tag的最后一次提交git reset --hard <lastcommit> 强制退回到指定提交Gitlab上取消项目master分支的protectedgit push -f origin master 强制pushGitlab上再设置项目master分支的protected...原创 2020-05-29 17:33:11 · 1629 阅读 · 0 评论 -
git常用命令
git回滚到任意版本 1. 先显示提交的log git log 2. 回滚到指定的版本 git reset --hard e377f60e28c8b84158 3. 强制提交 git push -f origin master项目去除git依赖find . -name ".git" | xargs ...原创 2019-02-20 14:32:10 · 66 阅读 · 0 评论