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 to private github repo #130

Open
damodharanj opened this issue Jun 27, 2020 · 6 comments
Open

Cannot push to private github repo #130

damodharanj opened this issue Jun 27, 2020 · 6 comments

Comments

@damodharanj
Copy link

Not able to push to private github repositories

@shd101wyy
Copy link
Contributor

Hi @damodharanj , for private GitHub repository, you will need to use Personal Access Token for authentication.
Please check this tutorial:

https://github.com/0xGG/welcome-notebook/blob/master/enUS/tutorial.md
https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token

Please make sure you write your Personal Access Token in the Username field but not Password field. Thank you!

@damodharanj
Copy link
Author

I keep getting the same authentication error even with the Personal Access Token with repo permission. Am I missing something ?

@shd101wyy
Copy link
Contributor

Did you grant your Personal Access Token the right permission? Please make sure you have repo checked. For example, below is mine:

Screenshot from 2020-06-27 20-33-37

@damodharanj
Copy link
Author

Yes I did this!
Screen Shot 2020-06-27 at 6 13 13 PM
But now I noticed I am not able to pull from the remote too! I says the same error.

@shd101wyy
Copy link
Contributor

Did you have the CORS proxy set to https://cors.isomorphic-git.org?

@damodharanj
Copy link
Author

It works if I set it in the settings! Figured out just now.

Without having the PAS in the settings if I do it in the push dialog its throwing the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants