]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'hn/checkout-track-fetch' into seen
authorJunio C Hamano <gitster@pobox.com>
Wed, 3 Jun 2026 23:14:07 +0000 (08:14 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Jun 2026 23:14:07 +0000 (08:14 +0900)
commit96d736656aeeb1797d76653604dc257c360b36ea
treee5da17c9baccd04af23e29f99961cb98c9652d1c
parenta65c886b2482206c79b5f6d71078dc57f830b1e8
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