Push a new local branch to a remote Git repository and track it too
1. To create a new local branch use following command,
2. Make changes to files you want and add+commit them, then fire following command to push local branch to repository,
$ git checkout -b feature_branch_name
2. Make changes to files you want and add+commit them, then fire following command to push local branch to repository,
$ git push -u origin feature_branch_name
Comments
Post a Comment