_________ is a Git command used to rewrite commit history.

  • git checkout
  • git commit --amend
  • git rebase
  • git reset
Git rebase is a command used to rewrite commit history by combining multiple commits into one or more new commits. It's often used to clean up commit history or to integrate changes from one branch into another in a more organized manner.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *