set commit email for one repo : git config user.email "your@email.com"
set commit email global : git config --global user.email "your@email.com"
set commit email for one repo : git config user.name "your-name"
set commit email global : git config --global user.name "your-name"
store git password when using https
:
- for one repo :
git config credential.helper store
- for set globally :
git config --global credential.helper store
(rungit pull
and enter your credential)