]> git.ipfire.org Git - thirdparty/git.git/commit
doc: clarify push.default=simple behavior
authorIvan Baluta <ivanbaluta.dev@gmail.com>
Tue, 26 May 2026 03:58:07 +0000 (03:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 May 2026 11:11:29 +0000 (20:11 +0900)
commitb2040bfafe0f7bbbd21cf65a903d2346d602f421
tree7ae78e53ba2078890207f50db3b811d830ebff63
parent56a4f3c3a221adf1df9b39da69b8a6890f803157
doc: clarify push.default=simple behavior

The documentation for the 'simple' push mode currently singles out
the centralized workflow, which can cause confusion about its
behavior in other scenarios, such as triangular workflows.

Clarify that 'simple' always pushes the current branch to a branch
of the same name, but only enforces the strict upstream tracking
requirement when pushing back to the same remote being pulled from.

Suggested-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/push.adoc