Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configuring GitKraken to push/fetch w/ Github

Tags:

I am trying to configure GitKraken with a particular repo I have on Github. As far as I can tell, once I give it my local project folder with the repo, it can see the remote. However, trying to push or pull gives me an error Push/Fetch failed. could not connect to origin.

It seems like it is an issue with authentication and SSH. I've tried to generate public/private keys in GitKrakens preferences auth page and add them to Github under the Github pane, but I get the same errors.

At this point I simply can't get things to work. I'm unfamiliar with the specifics of SSH. What is the issue here and how can I configure GitKraken to push/fetch with my upstream?

like image 623
Alex Bollbach Avatar asked Feb 05 '17 21:02

Alex Bollbach


People also ask

Can I use GitKraken with GitHub?

GitKraken allows users with the GitHub.com or GitHub Enterprise integrations to fork repositories from GitHub. To get started with forking a GitHub repository, you will first open that GitHub repo in GitKraken.

Does git push do a fetch?

The git push command is used to upload local repository content to a remote repository. Pushing is how you transfer commits from your local repository to a remote repo. It's the counterpart to git fetch , but whereas fetching imports commits to local branches, pushing exports commits to remote branches.


Video Answer


1 Answers

I also had this issue. Because I was trying to pull an organizations repo which was also private I needed to be granted access by the organization to use GitKraken (since it is seen as a third-party). If you go to your Github settings and under Applications -> Authorized OAuth App -> GitKraken thats where you can apply for permissions to the specific organizations you are assigned to on Github.

Hope this helps!

How to get to the GitKraken OAuth screen

Clicking grant next to an organisation/team

like image 114
Faris Tangastani Avatar answered Sep 19 '22 19:09

Faris Tangastani