git push -u 用法

96

 

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

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

git push -u origin master 
原文地址:https://www.cnblogs.com/taohuaya/p/10642988.html