Advertisement
rodro1

every time git pass fix

Aug 12th, 2021 (edited)
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. Permission to mizanstack/manager_front.git denied to rodro1.
  2.  
  3. git remote rm origin
  4. git remote set-url origin https://mizanstack@github.com/mizanstack/manager_front.git
  5. git remote add origin https://mizanstack@github.com/mizanstack/manager_front.git
  6.  
  7.  
  8. follow these commands to save credentials in the local storage
  9. ======================================
  10. $ git config credential.helper store
  11. or
  12. $ git config --global credential.helper store
  13.  
  14.  
  15. remove
  16. git config --global --unset credential.helper
  17. git config --unset credential.helper
  18.  
  19. push with token
  20. =====================
  21. git push https://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@github.com/rodro1/00access.git
  22.  
  23.  
  24. global credential remove
  25. ----------------
  26. git config --list
  27.  
  28. git config --global --unset user.name
  29. git config --global --unset user.email
  30.  
  31. git config --global user.name "mizanstack"
  32. git config --global user.email "mizan.stack@gmail.com"
  33.  
  34. front:
  35. =====
  36. git remote add origin https://github.com/mizanstack/manager_front.git
  37. git branch -M master
  38. git push -u origin master
  39.  
  40.  
  41.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement