Pushing a local branch up to GitHub

后端 未结 4 1611
Happy的楠姐
Happy的楠姐 2020-12-07 08:45

I have Git configured so that when I run git push, it pushes changes to my GitHub repo. Until now I have only had a master branch.

However, I have now c

4条回答
  •  醉话见心
    2020-12-07 09:28

    If you are really lazy, you can push all local branches by simply using

    git push --all
    

    --all

    Push all branches (i.e. refs under refs/heads/); cannot be used with other .

提交回复
热议问题