-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Upstream reset offers local branch name instead of remote branch name.
To Reproduce
Steps to reproduce the behavior:
- Checkout a remote branch
branch-remote - Rename local branch using 'R' to
branch-local - Click 'Upstream' then 'Reset'
- The popup offers reset options using local branch name
- Select any option (except 'Cancel')
- Observe error:
fatal: ambiguous argument 'origin/branch-local': unknown revision or path not in the working tree.
Expected behavior
Upstream reset actions should use remote branch name.
For comparison, upstream rebase actions properly use remote branch name.
Screenshots
N/A
Version info:
$ lazygit --version
commit=, build date=, build source=homebrew, version=0.44.1, os=linux, arch=amd64, git version=2.43.0
$ git --version
git version 2.43.0
Additional context
N/A
Note: please try updating to the latest version or manually building the latest master to see if the issue still occurs.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working