git rollback process

scenario

for now, you have tags

  • v6.0.1

  • v4.7.1

main & develop is v6.0.1

if you want to roll back both of main & develop to v4.7.1

$ git checkout develop
$ git reset --hard v4.7.1
$ git push origin develop --force

$ git checkout main
$ git reset --hard v4.7.1
$ git push origin main --force

Last updated

Was this helpful?