git push -u的含义和用法

作者:暗恋桃花源丫
来源:博客园
链接:https://www.cnblogs.com/taohuaya/p/10642988.html
说明:原作者保留相关权利,本文仅为转载。


在我们第一次提交git的时候:

发现上面用了这个-u参数,也没作解释,特意搜索了下这个-u的用法,加了参数-u后,以后即可直接用git push 代替git push origin master

$ git push -u origin master

猜你喜欢

转载自blog.csdn.net/chenzz444/article/details/104408607
今日推荐