本文介绍了'git push origin master'中'origin'的含义是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行时:

  git push origin master 

...在这种情况下 origin 的含义是什么?

解决方案

origin 是您从中克隆的远程git存储库的默认名称。在源文件中查看 .git / refs / remotes / origin / * .git / config git如何知道它。


When I run:

git push origin master

...what is the meaning of origin in this context?

解决方案

origin is the default name of the remote git repository you cloned from. Have a look at .git/refs/remotes/origin/* and .git/config within your sources to see how git knows about it.

这篇关于'git push origin master'中'origin'的含义是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-03 22:57
查看更多