Home > Back-end >  How can I save github credentials to the server
How can I save github credentials to the server

Time:07-18

When I do "git pull" on the Linux Ubuntu server to pull the changes from my repo, it always asks me for my GitHub account username and password. How can I save these credentials to the server forever?

CodePudding user response:

git config --global user.name <username>
git config --global user.email <[email protected]>
git config credential.helper store 

Note: first time it will ask for the credentials

  • Related