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.
假设我正在做这件事,我想保留这个状态,这样,如果出现问题,我可以恢复它。
据此,我不清楚:
在这种情况下我们应该怎么做:
提交或创建分支?
我认为 Git Tag 是您正在寻找的。
http://git-scm.com/book/en/v2/Git-Basics-Tagging