I have following question about git.
I novice with git. I want to get last state of branch1
locally.
now I switched on branch2
and branch1
exists locally.
Now I make
Please clarify me whether does first fetch
redundant or not?
It is redundant. Quoting the docs:
More precisely,
git pull
runsgit fetch
with the given parameters and callsgit merge
to merge the retrieved branch heads into the current branch.