What is a 'fast-forward' merge in Git?

  • Merging without creating a new commit
  • Merging with conflicts
  • Merging with rebase
  • Merging with a new commit
A 'fast-forward' merge occurs when the target branch has no new commits since the source branch was created. In this case, Git simply moves the pointer of the target branch to the latest commit of the source branch without creating a new commit.
Add your answer
Loading...

Leave a comment

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