jesseduffield.lazygit/docs-master
Trương Duy Khánh 158029dbf2
Always prompt for the upstream when pushing the selected branch (#4)
* Revert "Always confirm before pushing the selected branch (#3)"

This reverts commit 619bbf71c7.

* Always prompt for the upstream when pushing the selected branch

A plain yes/no confirmation doesn't let the user catch or fix a wrong
target before pushing. Reuse the same upstream-entry prompt already
shown for a branch with no upstream configured, but always show it for
a selected-branch push, pre-filled with the branch's current upstream
(or a suggested one if it has none). Confirming pushes to whatever's
typed there, and re-establishes it as the branch's tracking upstream.

---------

Co-authored-by: Khanh Truong <khanh_t@arbin.com>
2026-08-10 11:08:48 +07:00
..
dev Make copies of the docs and schema folders 2025-11-12 08:44:56 +01:00
keybindings Always prompt for the upstream when pushing the selected branch (#4) 2026-08-10 11:08:48 +07:00
Config.md Adapt documentation 2026-07-31 08:42:51 +02:00
Custom_Command_Keybindings.md Convert keybinding fields to Keybinding 2026-05-25 15:32:47 +02:00
Custom_DiffRenderers.md Adapt documentation 2026-07-31 08:42:51 +02:00
Fixup_Commits.md Make copies of the docs and schema folders 2025-11-12 08:44:56 +01:00
Range_Select.md Make copies of the docs and schema folders 2025-11-12 08:44:56 +01:00
README.md Adapt documentation 2026-07-31 08:42:51 +02:00
Searching.md Make copies of the docs and schema folders 2025-11-12 08:44:56 +01:00
Stacked_Branches.md Make copies of the docs and schema folders 2025-11-12 08:44:56 +01:00
Undoing.md Fix undo shortcut in Undoing.md 2026-05-26 09:45:41 +02:00