Skip to content

Required GitHub token ... does not exist in private repo #415

Closed Answered by tarsius
tillydray asked this question in Q&A
Discussion options

You must be logged in to vote

Is there a way to remove all forge config and start over, so I can get the prompt to add my username again?

git config --unset --local github.user
git config --unset --global github.user

You should then get the prompt:

Git variable `github.user' is unset.  Set to: 

and after answering that also:

Set github.user=JasonMFry [g]lobally (recommended) or [l]ocally? 

However, that won't do any good, because we already established that you are using the correct value for that.

If however you get a prompt like:

Username [for api.github.com]:

Then something is wrong.

Replies: 3 comments 13 replies

Comment options

You must be logged in to vote
8 replies
@tillydray
Comment options

@tarsius
Comment options

@tillydray
Comment options

@tillydray
Comment options

@tillydray
Comment options

Comment options

You must be logged in to vote
2 replies
@tillydray
Comment options

@tarsius
Comment options

Answer selected by tillydray
Comment options

You must be logged in to vote
3 replies
@tillydray
Comment options

@tarsius
Comment options

@tillydray
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area: initial config auth-source, http, ghub, github.user ...
2 participants