Skip to content

building etcd - branch vs tag #17894

Closed Answered by ivanvc
dulhaver asked this question in Q&A
Apr 29, 2024 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

HEAD would be git clone -b release-3.5?

Yes, HEAD is the latest commit in a branch. After you clone, a git pull origin release-3.5 would also bring the latest HEAD.

is that a fair understanding?

Yes, you're correct. I also forgot to mention that the following message from Git:

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
..,

It is not an error. It states precisely that you're on a specific commit (because tags point to commits).

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@dulhaver
Comment options

@dulhaver
Comment options

@ivanvc
Comment options

Answer selected by dulhaver
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants