Gitpod: Unable To Push To GitHub Via GitPod

Created on 15 Mar 2020  路  10Comments  路  Source: gitpod-io/gitpod

I'm currently working on a repository and whenever I add 'git push' into the command line, it says that it was unable to access the repository and that access was denied to the account I'm currently logged into? (see screenshot below)

image

Example repository

https://github.com/JackBen2019/Jack-Bennett-Data-Centric-Development-Milestone-Project

GitHub auth

Most helpful comment

@JackBen2019 thanks for reporting! We found a bug in detecting the repo URL for with the built-in permission check should be triggered, thus you didn't see a notification suggesting to open https://gitpod.io/access-control/ and give Gitpod permissions necessary to allow git push.

You can solve it manually by navigating to https://gitpod.io/access-control/ and allowing write public repos.

All 10 comments

Hello, and welcome to the GitHub and the Gitpod community :tada: Can you show your access control page?

Apologies, but I'm not sure what page you're referring to there?

@JackBen2019 thanks for reporting! We found a bug in detecting the repo URL for with the built-in permission check should be triggered, thus you didn't see a notification suggesting to open https://gitpod.io/access-control/ and give Gitpod permissions necessary to allow git push.

You can solve it manually by navigating to https://gitpod.io/access-control/ and allowing write public repos.

Ah brilliant! I've just gone onto the access control page, updated the relevant options and it's now allowing me to push.

Cheers Alex!

@JesterOrNot: See https://www.loom.com/share/35e0bde4082247a296d05e156fc2f767

irelevant to do topic

how do you make those videos?

@Kreyren First of all, it was completely relevant, he didn't know how to get to the page for the authentication for push access. Second of all I use loom

Hi, I just started using GitPod in the last day or so. I think that I also didn't get a notification to check / change the access control page (or if I did, I missed it, but I don't think so).

Like the OP, I was struggling to understand why I couldn't push to my GitHub account. I found this GitHub issue thread by Googling for the problem. I'm all sorted now, but wanted to add my +1.

@JackBen2019 thanks for reporting! We found a bug in detecting the repo URL for with the built-in permission check should be triggered, thus you didn't see a notification suggesting to open https://gitpod.io/access-control/ and give Gitpod permissions necessary to allow git push.

You can solve it manually by navigating to https://gitpod.io/access-control/ and allowing write public repos.

it works, thanks!

This helped me:
git push https://<username>:<password>@<repo_url_link>

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Kreyren picture Kreyren  路  3Comments

Kreyren picture Kreyren  路  3Comments

Kreyren picture Kreyren  路  3Comments

nisarhassan12 picture nisarhassan12  路  3Comments

alesanchezr picture alesanchezr  路  3Comments