Description
On a macOS Monterey (12.6.3)
- Right-click a commit in the commits panel
- Select option "Reset Current Branch to Commit..."
- Select option "Hard Reset"
Expect result:
The reset command works and the branch gets reset to the selected commit.
Actual result:
The reset command fails.
% git checkoutgit -C "/Users/johndoe/my-app" -c "core.editor=code --wait --reuse-window" reset --hard 9899d3cbb666bdb4e588cec6372f52b83bcfe656
git: 'checkoutgit' is not a git command. See 'git --help'.
Workaround: removing keyword 'checkoutgit' from the command seems to fix the issue.
GitLens Version
13.5.0
VS Code Version
Version: 1.78.0 (Universal)
Commit: 252e5463d60e63238250799aef7375787f68b4ee
Date: 2023-05-03T20:11:00.813Z
Electron: 22.4.8
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin arm64 21.6.0
Sandboxed: No
Git Version
git version 2.37.1 (Apple Git-137.1)
Logs, Screenshots, Screen Captures, etc
No response