Skip to content

Instantly share code, notes, and snippets.

@joglomedia
Forked from rafael-neri/script.sh
Created August 11, 2021 16:40
Show Gist options
  • Save joglomedia/380b4ae3d866054fc615c2a2d888c3df to your computer and use it in GitHub Desktop.
Save joglomedia/380b4ae3d866054fc615c2a2d888c3df to your computer and use it in GitHub Desktop.

Revisions

  1. @rafael-neri rafael-neri created this gist May 26, 2020.
    16 changes: 16 additions & 0 deletions script.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@


    # Create new from old
    git tag new old

    # Remove old tag
    git tag -d old

    # Sync changes from old tag to remote
    git push origin :refs/tags/old

    # Send new tag to remote
    git push --tags