]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'hn/checkout-track-fetch' into seen
authorJunio C Hamano <gitster@pobox.com>
Fri, 29 May 2026 04:01:37 +0000 (13:01 +0900)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 May 2026 04:01:37 +0000 (13:01 +0900)
commit2dd74ca41823e3b7eb74db85c8608bd74445050a
tree1e865f516dab794881e043b11db0b1d10ef553c1
parentd8bb0c9c9f6144cc695224dfa80721c0089ccaec
parent0233259d86bd9d49fe3d061871fdb3b27f5cd98a
Merge branch 'hn/checkout-track-fetch' into seen

"git checkout --track=..." learned to optionally fetch the branch
from the remote the new branch will work with.

* hn/checkout-track-fetch:
  checkout: extend --track with a "fetch" mode to refresh start-point
  branch: expose helpers for finding the remote owning a tracking ref
Documentation/git-checkout.adoc
Documentation/git-switch.adoc
builtin/checkout.c
t/t7201-co.sh