Regenerated PAT #33049
-
|
My PAT has expired and I was promoted to regenerate one. However, after regenerating the PAT, I am unable to do git push and am equally unable to use the new PAT to reclone already existing repositories. How do I proceed to work locally and push without being asked for my password every time I need to git push? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
|
do you know how to use GitHub Desktop ? you can do that without using Git, if say, that is you only developing the app, or maybe you are in a team but say, you are the only assigned in one module, so you don't need to pull the changes from the other modules |
Beta Was this translation helpful? Give feedback.
-
|
What happens is probably that your old PAT is cached somewhere. You'll have to update that storage, or clear it so you'll be asked again. Where that cache might be depends on:
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks for all the help. I figured out how to solve it using git remote set-url --delete to delete the old URL then git remote set-url --add to add the new URL |
Beta Was this translation helpful? Give feedback.
Thanks for all the help. I figured out how to solve it using git remote set-url --delete to delete the old URL then git remote set-url --add to add the new URL
All good now