7

git tags and pushing to a remote repo

 2 years ago
source link: https://www.kevinhooke.com/2021/09/06/git-tags-and-pushing-to-a-remote-repo/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

git tags and pushing to a remote repo

Tags are useful to mark specific versions or releases of your code in a repo on a given branch. To tag everything on the current branch, use:

git tag new-tag-name

To push a new tag to a remote repo, you can either push all tags (which is not recommended):

git push remote-name --tags

or push a specific tag:

git push remote-name tag-name

More example in this SO question.

Related

Removing commit history in GitAugust 29, 2012In "Tech Notes"

Git notesMay 4, 2012In "Tech Notes"

Git notes (3) - taggingJune 20, 2014In "Tech Notes"

CategoriesTech NotesTagsgit, version control

Leave a Reply Cancel reply

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

Comment

Name *

Email *

Website

Save my name, email, and website in this browser for the next time I comment.

Notify me of follow-up comments by email.

Notify me of new posts by email.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK