If you want to create a local branch and then push it upstream so that changes are tracked between the remote (upstream) branch and the local branch, then do this: (git 1.7.0+)
$ git checkout -b feature_branch_nameReference
... edit files, add and commit ...
$ git push -u origin feature_branch_name
No comments:
Post a Comment