gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Failing to push/create branch

Open anup-a opened this issue 1 year ago • 3 comments

Whenever I try to push my branch, it throws the error with a message - "Something went wrong".

Also, is there a way to see the logs? I was struggling to locate log file on my mac.

image

anup-a avatar Feb 18 '24 04:02 anup-a

Update: It worked after adding Remote Integration with Github. But I'm not sure if that is a required step, maybe I missed something.

anup-a avatar Feb 18 '24 05:02 anup-a

Hey there! I am glad you got it working. Generally this type of error (on fetching or pushing) generally means that git authentication did not work.

A few things that you can try is, in the project settings image

try enabling "Ignore host certificate checks". If this alone does not solve the issue, try out the other authentication options that are available. image

If none of this helps, feel free to ping me or somebody else from the team on discord and we will be happy to help out.

krlvi avatar Feb 18 '24 16:02 krlvi

In my case I was missing organization permission

  • Go to Github settings -> Applications -> Authorized OAuth Apps -> GitButler client -> Organization access
  • Click "Grand" next to the organization

ndan avatar Feb 18 '24 17:02 ndan

By now the application does a good job at communicating the error and offering help:

Screenshot 2024-04-21 at 22 02 35

Based on this, I am closing the issue but invite you to keep commenting if this keeps cropping up or changes shape.

Byron avatar Apr 21 '24 20:04 Byron