Kermit the Frog
Kermit the Frog

Reputation: 3969

making changes on remote branches

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

Answers (1)

Ruslan Osipov
Ruslan Osipov

Reputation: 5843

I think your question answers itself:

git checkout branch1
# make your changes
git push origin branch1

Upvotes: 2

Related Questions