klor
klor

Reputation: 1327

How to authenticate to Github from Git Extensions with access token?

I try to push branch with Git Extensions to GitHub, but when pushing the change it displays a Github pop-up window to login.

When pushing repo changes from Git Extensions, it displays a Github pop-up window to login.

I created access token as @invzbl3 suggested, so it should work, but I still get a Github pop-up login screen.

I created access token on Github.com / Settings Developer settings / Personal access tokens / Tokens (classic).

I checked:

Is there any else permission needed to push into a Github repo?

I added the token I got into Git Extensions / Tools / Settings / Plugins / GitHub / OAuth Token (Global for all repositories).

Unfortunately this does not authenticate, still displays a Github pop-up window to login.

Upvotes: 0

Views: 5111

Answers (2)

j.e.
j.e.

Reputation: 79

Had the same problem. I added my personal token to the url like this: https://token@githubRepoUrl

Right-click on the left tree view menu Remotes->origin->Manage. Then, add your token to the url.

Upvotes: 1

klor
klor

Reputation: 1327

I found the problem. The repo had HTTPS URL set, not SSH.

After setting up an SSH address for the repo, the push worked fine as it should.

Upvotes: 1

Related Questions