What does git fetch origin master:master
mean?
I mean the master:master
part: I know what git fetch origin
means, but what about the master:master
part?
The arguments after the remote (origin
) are refspecs.
Using master:master
will overwrite your master
branch; see this answer.
See this answer for even more about git fetch
's behavior with and without refspec arguments.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With