git创建远程分支并推送

1.查看所有分支

git branch -a 

2.创建本地test分支

git checkout -b test

3.把本地test分支推送到远程

git push --set-upstream origin test

猜你喜欢

转载自www.cnblogs.com/yaoliuyang/p/12271958.html