8000 Add tag section · Issue #1 · amaddio/git-workshop · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add tag section #1
Open
Open
@amaddio

Description

@amaddio

Replace existing tag(https://stackoverflow.com/questions/8044583/how-can-i-move-a-tag-on-a-git-branch-to-a-different-commit)

Delete the tag on any remote before you push

git push origin :refs/tags/
Replace the tag to reference the most recent commit

git tag -fa
Push the tag to the remote origin

git push origin master --tags

  • delete a tag (reference) in the remote: git push origin :refs/tags/<tagname>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0