18. Git for beginners. Tags in Git. How to use Git tags?

preview_player
Показать описание
Check out my courses here!

🔥 Best Git books:

In this video, we'll use tags. Tags allow us to highlight commits and create aliases with readable names.

Mark commit with tag
git tag v1
View tags
git tag -list
Push
git push --tags
Check it out
git checkout v1

Let's be friends:

#git #github #tutorial
Рекомендации по теме
Комментарии
Автор

Thanks for this. I wonder if you have any input on how we handle releases:

Let's say we've merged all the tickets for release 1.1.1 and are ready to build a Release Candidate.

During this time, there are tickets for the next release, 1.1.2, that are also ready to be merged (Code reviewed, manually tested). Even though these are ready to be merged, we don't want merge them until the Release Candidate for the current version, 1.1.1, is built and approved. This is because we don't want to increase the testing load for 1.1.1, or cherry-pick from develop in case it needs a hotfix.

We would like to not have to worry about halting merges between releases. Is there a way we can continue to merge code into particular releases using tags to do this?

ConnorBingham-dk
Автор

Clear and concise. Thank you very much.

GuitarreroDaniel
Автор

So helpful.
Thanks for putting out this content :)

divinenature
Автор

Thank you for this. Just one question, can you create a tag on other branches apart from master? As in, does it make sense?

ribaker
welcome to shbcf.ru