Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个分支叫:
myBranch
在签入服务器时,它有很多变化。我想回到的修订是:
5b31ec198
将服务器从服务器返回到本地的步骤是什么?
为了将本地工作副本返回到提交 5b31ec198 签入时的状态,只需转到工作副本的顶层目录并使用git checkout 5b31ec198.
git checkout 5b31ec198
如果您有尚未签入的更改,则需要先签入它们,或用于git stash save保存以备后用。
git stash save
I have tried searching for this but couldn't really find a proper answer. I have a stl::set of a custom class I made.
The class looks like
class myObjec