What is the difference between MERGE_HEAD, CHERRY_PICK_HEAD, and REBASE_HEAD special refs?

Git Hard

Git — Hard

What is the difference between MERGE_HEAD, CHERRY_PICK_HEAD, and REBASE_HEAD special refs?

Key points

  • MERGE_HEAD, CHERRY_PICK_HEAD, and REBASE_HEAD are specific to merge, cherry-pick, and rebase operations
  • They point to different commits during their respective operations
  • These refs are crucial for resolving conflicts and continuing the operation

Ready to go further?

Related questions