![]() ![]() dab43d6, 2d07abe, and 80cb9ce) were made on the master branch. Also, the tag didn’t move, even if more commits (i.e. It remains fixed even if as more commits are added, as visualized below:Ībove, the tag, v1.0.0, marks the commit, 04378d6. Unlike branch HEAD pointers that move as more commits are added to a branch, a tag does not move. it can serve to reference a stable software project version. Tags can serve as a future reference for any desired use e.g. to mark a commit in a branch), you need to create a tag.Ī tag is commonly used to mark a commit on the main or master branch for a software release. Now, for you to mark a specific version of your project (i.e. When you add more commits to a branch, its associated HEAD pointer automatically moves to point to the latest commit made on that branch. A branch has a movable pointer(HEAD pointer) that points to the latest commit. A commit captures the code changes of your software project at a specific time. To understand what a tag in Git does, you need to first understand the roles played by commits and branches. For example, use tags for releases and use branches to track ongoing development efforts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |