[英]What does `git fetch origin master:master` mean?
What does git fetch origin master:master
mean? git fetch origin master:master
是什么意思?
I mean the master:master
part: I know what git fetch origin
means, but what about the master:master
part? 我的意思是master:master
部分:我知道git fetch origin
意味着什么,但master:master
部分呢?
The arguments after the remote ( origin
) are refspecs . 远程 ( origin
)后面的参数是refspecs 。
Using master:master
will overwrite your master
branch; 使用master:master
将覆盖你的master
分支; see this answer . 看到这个答案 。
See this answer for even more about git fetch
's behavior with and without refspec arguments. 有关git fetch
在有和没有refspec参数的情况下的行为,请参阅此答案 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.