git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git Checkout tracking behavior with <start_point>?
@ 2021-11-03 15:08 Cyrus Vafadari
  2021-11-03 20:17 ` Stefan Moch
  2021-11-04 10:17 ` Jeff King
  0 siblings, 2 replies; 3+ messages in thread
From: Cyrus Vafadari @ 2021-11-03 15:08 UTC (permalink / raw)
  To: git

Hello all,

I'm new to this mailing list, so I hope I'm doing it right!

I am an avid user of this pattern: "git checkout -b my_branch
upstream/3.2.x", using "start_point" to build my backported patch
against an old feature version. But in this case, the default tracking
is against 3.2.x, rather than my new feature branch. So, then, when I
push I specify to update the tracking against the new branch name.
There are also various default behaviors for push, which I won't
enumerate here, but in the end I need to specify tracking.

I'm wondering if there is some usage/pattern I'm missing?

Or is this an opportunity to add a gitconfig for "tracking behavior"
of `checkout` with start_point? If there is agreement that this could
be improved with a new config, I'd be happy to open a PR.

Best,
Cyrus

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

end of thread, other threads:[~2021-11-04 10:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-03 15:08 Git Checkout tracking behavior with <start_point>? Cyrus Vafadari
2021-11-03 20:17 ` Stefan Moch
2021-11-04 10:17 ` Jeff King

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).