#6 Git Tutorial | What is Git Tag | Annotated & Lightweight tags | How to create release in GitHub

preview_player
Показать описание
In this video we are gonna discuss the below topics.
1. What is git tag?
2. What is a release?
3. How to create, lists and delete tags?
4. Difference between annotated and lightweight tags.
6. How to create GitHub release.

So lets move inside the video to get the details.

Below are the commands related to git tag.
git tag -a 1.0 -m "adding a new annotated tag"
git tag 2.0 // to create a lightweight tag
git push origin 1.0 //push tag to remote repository
git tag //to get the list of tag
git show 1.0 //to display tag details
git tag -d 1.0 // delete a tag
git tag -d 1.0 2.0 // delete multiple tag
git push origin --delete 1.0 // delete tag from remote repository
git checkout 1.0 //checkout tag

Below are the basic git commands.
git init
git clone -b "branchname" "branchrepourl"
git checkout -b branchname
git add README.md
git commit -m "first commit"
git branch -M master
git push -u origin master

**************Please comment in case of any query*************

Please watch below video as well -

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

Such a clear explanation. Thank you :)

tanveerahmed-npqx