Discuss / Git / -u

push时的 -u 参数表示把origin这个主机设置为默认远程主机,以后用 git push 就可以把当前分支推送到这个主机上的对应分支,是一种简化写法。


  • 1

Reply