Whenever I want to push any change from my local to my github via terminal, showing "Remote: Invalid username or password." I deleted my personal token from the github and reinstalled the git in my system. But not working. #133133
Select Topic AreaQuestion Feature AreaIssues BodyGuidelines |
Replies: 6 comments 14 replies
|
Hi @nitinsreevstv , First of all, check your Then, if you haven't already done so, regenerate the After doing all that, try to |
|
Thanks for posting in the GitHub Community, @nitinsreevstv ! We're happy you're here. You are more likely to get a useful response if you are posting your question in the applicable category, the Projects and Issues category is solely related to conversations around the GitHub products Issues and Projects. I've gone ahead and moved it for you. Good luck! |
|
hey @davevad93, now I am providing the PAT after every push. Can you please tell me how can i overcome this problem ? |
|
I have the same issue and regeneration of the token didn't help. I've found that removement of the If try to set the variable again and it continues with the error: Everything was working several days before. |
|
Temporary Fix (If All Else Fails)
|
|
I found a solution here, it works great for HTTPS and SSH: |

Hey @nitinsreevstv you're welcome, if you configure the remote URL and then delete the
PATassociated with it, you would get an error because the token no longer exists, in which case you would have to generate a new one and set the remote URL with the new token.