Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot push with "backend error" on Windows #3544

Open
simonmcconnell opened this issue Apr 18, 2024 · 1 comment
Open

Cannot push with "backend error" on Windows #3544

simonmcconnell opened this issue Apr 18, 2024 · 1 comment
Labels
bug Something isn't working feedback requested Feedback was requested to help resolve the issue os:windows The Windows platform

Comments

@simonmcconnell
Copy link

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.

@Byron Byron added os:windows The Windows platform bug Something isn't working labels Apr 23, 2024
@Byron
Copy link
Collaborator

Byron commented Apr 23, 2024

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?

@Byron Byron added the feedback requested Feedback was requested to help resolve the issue label Apr 23, 2024
@Qix- Qix- changed the title [windows] cannot push "backend error" Cannot push with "backend error" on Windows Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feedback requested Feedback was requested to help resolve the issue os:windows The Windows platform
Projects
None yet
Development

No branches or pull requests

2 participants