github enterprise, windows 10. email+token only works with github desktop tool. Fails in powershell, git bash, and cmd consoles.
Error - remote: Repository not found. fatal: Authentication failed for https://(enterprise hostname)/(org name)/(repo name).git
ran test scenario: created new repo on github site, path used was from clone link. used sample code to generate readme.md, git add . (success); git commit -m "notes" (success); git push -u origin master (failed)
git config --system contains "config.helper=manager" (GCM)
The GCM popup prompts for credentials (enter email; token), connection fails, also github is not added to windows credential manager.
The GCM prompts for credentials (cancel), command line prompts for username (email) and password (token), connection fails
cmd runas admin
git config --system --unset config.helper (no effect)
git config --system config.helper=wincred (no effect)
git config --system config.helper=cache (no effect)
git config --system --list (still shows "config.helper=manager")
tried removing origin and resetting, no effect
git exists in several locations on my machine:
- C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git
- C:\Program Files\Git
- C:\Users{username}\AppData\Local\GitHub\PortableGit_f02737a78695063deace08e96d5042710d3e32db
Github desktop --> options: Able to add github enterprise login successfully: Email or usename; token; https://(enterprise hostname) able to "sync" successfully
I am the creator and owner of both the organization and the Repo. All of this was working from windows 7, I just did a new install of windows 10 and generated a new token, trying to pull down my repos and get them into a usable state.
did a lot of research, tried several things, not sure what else to try, really need commandline interface to work. Any suggestions, greatly appreciated.