]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'hn/checkout-track-fetch' into seen
authorJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2026 17:44:33 +0000 (10:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2026 17:44:33 +0000 (10:44 -0700)
commit9ec7dbfd677ca7e19e22953e51605f42cd302efe
treeac3a9fcffecf05138e41a006cbe91a955e4e73dc
parent5cacd2ad51922c45a8b1525fa1af8042bd56fe71
parent8b13e2d194d5e1c2280d33de6b64c778a9cfa2ff
Merge branch 'hn/checkout-track-fetch' into seen

The 'git checkout --track=...' command has been taught to optionally
fetch the branch from the remote that 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
branch.c
branch.h
builtin/checkout.c
t/t7201-co.sh