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> --softgit checkout <tag>git reset
# or
git reset <file># Reset contents
git reset <tag> --hard
# Reset commit and keep changes
git reset <tag> --softgit checkout <tag>