Home > front end >  Snapshot identifiers in git?
Snapshot identifiers in git?

Time:05-23

I'm a bit confused. Is there a way to put down some dedicated snapshots, labels on a branch in git? I know, every commit is snapshot, but you would still want some label easily identifying the source code resulting build 0.9.1, right?

In other words: in some cases you might want to download a codebase belonging to a certain version of a SW. How do you find the right snapshot to download?

CodePudding user response:

I would suggest that you use git tag during the creation of specific code that is linked to some feature.

You can read more about this at https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-tag and https://git-scm.com/book/en/v2/Git-Basics-Tagging.

  • Related