Skip to main content

Tags

Adding tags to existing commits

tag="<tag-name>" commit="<hash-of-commit-to-edit>" bash -c 'GIT_COMMITTER_DATE="$(git show --format=%aD $commit)" git tag -a $tag -m $tag $commit'