git在本地向远程仓库创建分支

在本地的仓库种,如果想给upstream创建新分支并关联,需要执行

git push -u/--set-upstream 远程仓库名 远程分支名

猜你喜欢

转载自www.cnblogs.com/codeking100/p/9695836.html