Posts tagged git

Oct13

Git remote tracking existing local branch

git | comments

As of git 1.7.0...

Say you have checked out a new local branch on your project:

$ git checkout -b feature_x 

Made your code changes and committed to 'feature_x' branch. You would now like to keep a copy of this branch in your remote repository called 'origin': Continue reading »