Tuesday, July 7, 2015

Push a new local branch to remote and tracking in GIT

This is an easier way of creating a remote feature branch. First you need to create a local branch from master and then push it to the remote and tracking also will get enabled on that.

git checkout master

git pull

git checkout -b feature_branch_name

git push -u origin feature_branch_name

No comments:

Post a Comment