Think before you speak, read before you think.

git 本地新建分支在远端自动创建并设置 upstream

.git/config 添加

[push]
    default = current

push 的时候加上 -u

git push -u

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *