Suppose I do git fetch origin
and I get the following output:
From origin
* [new branch] develop -> origin/develop
* [new branch] new -> origin/new
What does this syntax mean ?
And sometimes it outputs different stuff, if I do git fetch origin develop
I get the following output:
From origin
* branch develop -> FETCH_HEAD
f3beeb4..2b38122 develop -> origin/develop
So here the syntax is different. Why? I'd appreciate a short description of each of these syntax's.
EDIT:
Sorry guys for not being more clear about my question. I'm actually interested in syntax/logic for these pieces:
* [new branch] develop -> origin/develop
* [new branch] new -> origin/new
* branch develop -> FETCH_HEAD
f3beeb4..2b38122 develop -> origin/develop
And not for this one git fetch origin
.