Top Differences Between Tags and Branches In Git You Must Knowby@leahvogel
7,409 reads
7,409 reads

Top Differences Between Tags and Branches In Git You Must Know

by Leah Vogel2mMarch 25th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The most recent commit on a branch is referred to as the tip of that branch. Branches are dynamic and code can be added to them. A tag is most typically used to mark a particular point in the commit ancestry chain. A branch is an active line of development whereas a tag is a reference to a specific commit on any branch. The tip of the branch is referenced by a branch head, which moves forward as additional development is done on the branch. A single git repository can track an arbitrary number of branches, but your working tree is associated with one of them.

Company Mentioned

Mention Thumbnail
featured image - Top Differences Between Tags and Branches In Git You Must Know
Leah Vogel HackerNoon profile picture
Leah Vogel

Leah Vogel

@leahvogel

Developer. Leader. Speaker. Doer of Things. Bookworm. Mostly Harmless.

About @leahvogel
LEARN MORE ABOUT @LEAHVOGEL'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Leah Vogel HackerNoon profile picture
Leah Vogel@leahvogel
Developer. Leader. Speaker. Doer of Things. Bookworm. Mostly Harmless.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite