Didn't fix anything, but caused an additional error to print: git: 'credential-master' is not a git command. I thought this would wipe the credential helper and cause git to prompt for credentials every time, yet it didn't. In both cases git didn't ask me to re-enter my credentials like I thought it would. Removing the local branch, uninstalling git, re-installing it and re-cloning the repo.Here's the local gitconfig of the repository where it happens: įetch = +refs/heads/:refs/remotes/origin/ # email = there is in my system gitconfig is this: # Please adapt and uncomment the following lines: Here's my global gitconfig: # This is Git's per-user configuration file. As I wrote above, what git thinks is my username, is actually my password, so, naturally, no matter what pass do enter when it prompts me to, git push fails because the credentials are invalid (namely, username is wrong). Only for the password it does, and username is suggested automatically. No matter what I try, it does no prompt me for my username again. Then it popped up second time, I entered my password again, and naturally, git push failed due to authorization error. Turns out, it was prompting me for my username (yet, it was still labeled "Password" and did mask characters, but that's a different story). A window with a single field popped up, and I have entered my password in it. Done some work, created the commit, and when I tried to push it, git, naturally, prompted me for my credentials. I cloned my repository which I usually use at work to my home PC (never worked with this particular repository from home before). The title pretty much says it, but here's the details.First off, my OS is Fedora 28 (KDE Spin) and I use git version 2.17.2
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |