9
I’m trying to push to my repository, but git always gives me this error:
remote: Permission to danielswater/social.git denied to Michelleg-. fatal: Unable to access 'https://[email protected]/user/social.git/': The requested URL returned error: 403
I don’t know what else to do, in gitconfig, this user "Michelleg" doesn’t show up. I’ve also tried to do the git config --global user.name
, but none of that worked. Would anyone know how to fix this?
Note: I’m using Git on Windows
Maybe you need to put the password next to the user, example:
https://usuario:[email protected]/usuario/social.git
. I suggest you set up ssh on your machine, so it’s simpler.– Giovane
Also, I haven’t & #Xa;I’ve tried to uninstall Git, removed all the files and nothing. I’ve tried cloning the project again, and nothing
– Daniel Swater
This machine is yours or the company’s?
– Giovane
This machine is mine. I remember that I added this user to be able to do a trampo p this person, but now I can’t remove. In gitconfig, it doesn’t even show up, my user does show up
– Daniel Swater
You added as ssh?
– Giovane
No, no ssh even
– Daniel Swater