0

I tried to merge in the new changes made in master branch to my local branch. I ran the following commands:

git checkout feature1
git rebase master

After that I move on to resolve the conflicts during the rebase process.

My question here is in the conflict what does HEAD mean? It means my local branch head right?

Dietrich Epp
  • 205,541
  • 37
  • 345
  • 415
Yinfang Zhuang
  • 443
  • 1
  • 5
  • 15

1 Answers1

3

HEAD in git is always where you are. You checkout a branch? HEAD points to the tip of the branch. You checkout a revision? HEAD points to that revision.

eftshift0
  • 26,375
  • 3
  • 36
  • 60