-2

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?

1 Answers1

1
git config --global user.name <username>
git config --global user.email <xxx@mail.com>
git config credential.helper store 

Note: first time it will ask for the credentials

Anas Khan
  • 34
  • 5