Skip to content

Instantly share code, notes, and snippets.

@niqdev
Created October 10, 2022 17:32
Show Gist options
  • Select an option

  • Save niqdev/a0d59d1cbcaf1578b3ce14829ae282b6 to your computer and use it in GitHub Desktop.

Select an option

Save niqdev/a0d59d1cbcaf1578b3ce14829ae282b6 to your computer and use it in GitHub Desktop.

Revisions

  1. niqdev renamed this gist Oct 10, 2022. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. niqdev created this gist Oct 10, 2022.
    4 changes: 4 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    git checkout <COMMIT_SHA>
    GIT_COMMITTER_DATE="$(git show --format=%aD | head -1)" git tag vX.Y.Z
    git push origin --tags
    git checkout main