Monday, June 5, 2017

save username/password while using github



--
You need to set this to store credentials in disk


git config credential.helper store


First time it will ask for credentials and stored in disk...afterwards same will be used.

This is applicable per github repo.

---

You can do the same globally by:

git config --global credential.helper store

cat ~/.gitconfig shoud reflect this.

---

No comments:

Post a Comment