Reputation: 31397
Let's say I'm working on this thing, and I want to preserve this state, so that, if something goes wrong, I can revert to it.
According to this, it's not clear to me:
What should we do when on this situation:
commit or create branch ?
Upvotes: 1
Views: 191
Reputation: 12504
I think Git Tag is what you are looking for.
http://git-scm.com/book/en/v2/Git-Basics-Tagging
Upvotes: 3