摘要:
revert某个文件 git log 找到要回退的版本 git checkout commitID 文件名 git add 文件名 git commit -m "已经回退该文件到指定版本" 回退某次提交 git revert commitID 该本次提交的所有文件都会受影响,在这之后提交的内容不会丢 阅读全文
posted @ 2020-11-25 23:03
白杯与咖啡
阅读(65)
评论(0)
推荐(0)
摘要:
git checkout -b 本地新分支名称 origin/远程分支名 阅读全文
posted @ 2020-11-25 22:56
白杯与咖啡
阅读(369)
评论(0)
推荐(0)