1.Git如何进行版本的穿梭?
git reflog查看commitID,找到需要回退的版本;
git reset –hard commitID;
git push -f 强制push.
2.git merge后可以直接推送远端,git push
3.撤回单个文件,git checkout commit-ID /path/to/file
本文共 219 字,大约阅读时间需要 1 分钟。
1.Git如何进行版本的穿梭?
git reflog查看commitID,找到需要回退的版本;
git reset –hard commitID;
git push -f 强制push.
2.git merge后可以直接推送远端,git push
3.撤回单个文件,git checkout commit-ID /path/to/file
转载于:https://my.oschina.net/u/2939155/blog/1590200