xxxxxxxxxx
git config --global credential.helper store
git pull
xxxxxxxxxx
git config --global user.name "your username"
git config --global user.password "your password"
git config --global credential.helper store
xxxxxxxxxx
# Configure the Global Git username
git config --global user.name "Your Name"
# Configure the Global Git email
git config --global user.email "your.email@example.com"
# Set Git to use the helper to save the credentials
git config --global credential.helper store
xxxxxxxxxx
$ git config --global github.user defunkt
$ git config --global github.token 6ef8395fecf207165f1a82178ae1b984
Applications and scripts can easily access this information:
$ git config --global github.user
defunkt
xxxxxxxxxx
// for storing globally
git config --global credential.helper store
git push origin <your branch>
//for folder specific
git config credential.helper store
git push origin <your branch>
// after pushing once with password from next time it wont ask for password