Git Remotes & Remote Branches (Rough Draft for Reference)

 

git remote add development git@github.com:user/repository.git (where origin is development)

git checkout -b development (where branch name is also development)

git branch --set-upstream-to=development/development development (setting “origin/remote branch” as “development/development development”)

git push -v development development (finally, push to “origin branch” as “development development”)

 

Confused or amazed? You can set other branches this way to really get your local git going.

Leave a Reply

Your email address will not be published. Required fields are marked *