git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git push in --tracked branches.
@ 2010-04-22  0:02 Aghiles
  2010-04-22  0:44 ` Jeff King
  0 siblings, 1 reply; 5+ messages in thread
From: Aghiles @ 2010-04-22  0:02 UTC (permalink / raw)
  To: git list

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-22 19:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-22  0:02 git push in --tracked branches Aghiles
2010-04-22  0:44 ` Jeff King
2010-04-22  1:13   ` Aghiles
2010-04-22  1:52     ` Jeff King
2010-04-22 19:52       ` Aghiles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).