Top Differences Between Tags and Branches In Git You Must Knowby@leahvogel
4,969 reads

Top Differences Between Tags and Branches In Git You Must Know

March 25th 2021
2 min
by @leahvogel 4,969 reads
tldt arrow
Read on Terminal Reader🖨️

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

@leahvogel

Leah Vogel

About @leahvogel
LEARN MORE ABOUT @LEAHVOGEL'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa