Reputation: 3969
I have a branch on origin branch1.
How do I checkout the branch and make changes on that branch and then push the changes back to origin.
So checkout origin/branch1
make changes on that branch
then push to origin
Upvotes: 0
Views: 50
Reputation: 5843
I think your question answers itself:
git checkout branch1
# make your changes
git push origin branch1
Upvotes: 2