Monday, October 24, 2011

(local out of date) error in Git when working with branches

1. git pull origin your-branch
2. git push origin your-branch

Step 1 brings your local branch to up-to date. Step 2 pushes your changes to the remote branch.