Google source repository integration

79 views Asked by At

I have a git repository with multiple branches which I wanted to push to google source repository. But it takes only a particular branch of the repository. How can I create a branch on google source repository and push code to that branch only ?

1

There are 1 answers

0
Martin Zeitler On BEST ANSWER

create a new branch:

git checkout -b branch_name

edit, add and commit your files.

then push the branch to the remote:

git push -u origin branch_name

assuming you have already added it as remote.

see git checkout & git push.