MEM
MEM

Reputation: 31397

Git - If we want to take a snapshot - should we Branch our should we Commit?

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

Answers (1)

Josnidhin
Josnidhin

Reputation: 12504

I think Git Tag is what you are looking for.

http://git-scm.com/book/en/v2/Git-Basics-Tagging

Upvotes: 3

Related Questions