gitbutler
gitbutler copied to clipboard
Cannot push with "backend error" on Windows
virtual branch created in GitButler fails to push
2024-04-18T00:31:23.968874Z INFO push_virtual_branch: crates\gitbutler-tauri\src\virtual_branches.rs:267: new [3mproject_id[0m[2m=[0ma40a7b17-6c37-4ab9-ada8-66f7ee8b6cfb [3mbranch_id[0m[2m=[0mdb56f614-b063-43b4-ae2f-3201359fc1a3 [3mwith_force[0m[2m=[0mfalse
2024-04-18T00:31:24.026897Z ERROR push_virtual_branch: crates\gitbutler-tauri\src\virtual_branches.rs:267: error=Error(errors.unknown
Caused by:
0: backend error: git command exited with non-zero exit code 1: ["push", "--quiet", "origin", "a1b818fd0839d3c06cf718861c09b4dd0b5a9668:refs/heads/ct-channel-client-id-validation-fix"]
STDOUT:
STDERR:
Could not create process with command '"C:\Users\simon\scoop\apps\git\current\cmd\git.exe" -c protocol.version=2 --no-optional-locks --no-pager push --quiet origin a1b818fd0839d3c06cf718861c09b4dd0b5a9668:refs/heads/ct-channel-client-id-validation-fix'.
1: git command exited with non-zero exit code 1: ["push", "--quiet", "origin", "a1b818fd0839d3c06cf718861c09b4dd0b5a9668:refs/heads/ct-channel-client-id-validation-fix"]
STDOUT:
STDERR:
Could not create process with command '"C:\Users\simon\scoop\apps\git\current\cmd\git.exe" -c protocol.version=2 --no-optional-locks --no-pager push --quiet origin a1b818fd0839d3c06cf718861c09b4dd0b5a9668:refs/heads/ct-channel-client-id-validation-fix'.) [3mproject_id[0m[2m=[0ma40a7b17-6c37-4ab9-ada8-66f7ee8b6cfb [3mbranch_id[0m[2m=[0mdb56f614-b063-43b4-ae2f-3201359fc1a3 [3mwith_force[0m[2m=[0mfalse
2024-04-18T00:31:24.026918Z INFO push_virtual_branch: crates\gitbutler-tauri\src\virtual_branches.rs:267: close time.busy=3.76ms time.idle=54.3ms [3mproject_id[0m[2m=[0ma40a7b17-6c37-4ab9-ada8-66f7ee8b6cfb [3mbranch_id[0m[2m=[0mdb56f614-b063-43b4-ae2f-3201359fc1a3 [3mwith_force[0m[2m=[0mfalse
I typed git -c protocol.version=2 --no-optional-locks --no-pager push --quiet origin a1b818fd0839d3c06cf718861c09b4dd0b5a9668:refs/heads/ct-channel-client-id-validation-fix in the command line and it worked.
Thanks for reporting!
Executing "C:\Users\simon\scoop\apps\git\current\cmd\git.exe" -c protocol.version=2 --no-optional-locks --no-pager push --quiet origin a1b818fd0839d3c06cf718861c09b4dd0b5a9668:refs/heads/ct-channel-client-id-validation-fix would probably also work for you, right?