Webkul
Services
Technologies Bagisto QloApps
iOS Android SAP BigCommerce Wix
Trusted by
Samsung Intel Toyota Walmart Disney Nokia Nestlé Decathlon
See all customers
Back to Top
DEV

Git Basics (Tagging)

Git Basics (Tagging)

Today in this blog we will see Git Basics (Tagging).
Check latest magento extensions.

Create Tag

a) Create Annotated Tags

$ git tag -a tag1 -m "first upload tag"

Running this command will create a new tag named ‘tag1’ and with -m we can add a message

b) Create Lightweight Tags

$ git tag -a tag1

View Tags

$ git tag

Push in Tag

After creating a tag we can push the latest code in the tag

$ git push origin tag1

Clone from tag

$ git clone -b tag1 https://URLOFTHEREPOSITORY

Delete Tag

$ git tag -d tag1

Git Basics (Branching)

That’s it.

Happy coding 🙂

GIT
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home