I don't understand what it means by
Your branch is ahead of origin/master
Even if I do a
git reset --hard origin/master
git pull origin master
git tells me:
[dor...@localhost ITK]$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 145 commits.
#
nothing to commit
It means that you have some commits in your branch that weren't pushed to
origin.
To keep your local branch in sync with origin, you need to push your code to
that frequently.
git push origin master
On Thu, Nov 11, 2010 at 12:05 AM, David Doria daviddo...@gmail.com wrote:
I don't understand
So how would I undo all of these commits and get my folder back to
exactly looking like origin/master? (short of deleting it and
re-cloning)?
David
On Wed, Nov 10, 2010 at 9:11 PM, Alberto Leal albert...@gmail.com wrote:
It means that you have some commits in your branch that weren't pushed to