I figured out the steps but seems cumbersome, take bitbucket
for example, suppose i already have a project called prj
- I branch a new project from server side(bitbucket.com), called
prj-bz
- From local i add add a remote
git remote add prj-bz https://blah...
- At the same time from local i create a new branch called
prj-bz
- From local i call
git push prj-bz prj-bz
to let local repo and remote one connected.
I checked out some git books but seem none cover this. Any more efficient way to do this?