Skip to main content
1 of 2
slisnychyi
  • 1.9k
  • 3
  • 26
  • 33

simple solution:

git reset --soft HEAD~5

git commit -m "commit message"

git push origin branch force-with-lease

slisnychyi
  • 1.9k
  • 3
  • 26
  • 33