git cheat sheet - Forest0923/memo GitHub Wiki
git reset
# or
git reset <file>
# Reset contents
git reset <tag> --hard
# Reset commit and keep changes
git reset <tag> --soft
git checkout <tag>
git reset
# or
git reset <file>
# Reset contents
git reset <tag> --hard
# Reset commit and keep changes
git reset <tag> --soft
git checkout <tag>