git push in --tracked branches.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Aghiles
Date: Wednesday, April 21, 2010 - 5:02 pm

So I created a branch that tracks 'origin' which is remote:

  git checkout -b small_fixes origin

I can do a 'git pull' and everything works as expected. I did some
commits in this branch and I issue a 'git push'. To my surprise
the 'git push' is still operating on the master and not the current
'small_fixes' branch! What is the rationale behind this ? I would
expect to push from my current branch to origin (especially that
I am --tracking origin).

  -- aghiles
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git push in --tracked branches., Aghiles, (Wed Apr 21, 5:02 pm)
Re: git push in --tracked branches., Jeff King, (Wed Apr 21, 5:44 pm)
Re: git push in --tracked branches., Aghiles, (Wed Apr 21, 6:13 pm)
Re: git push in --tracked branches., Jeff King, (Wed Apr 21, 6:52 pm)
Re: git push in --tracked branches., Aghiles, (Thu Apr 22, 12:52 pm)