Skip to content

Instantly share code, notes, and snippets.

@ChechoCZ
Created December 9, 2019 21:22
Show Gist options
  • Save ChechoCZ/2e8ad9664f94000c8fe0f438d800a4ec to your computer and use it in GitHub Desktop.
Save ChechoCZ/2e8ad9664f94000c8fe0f438d800a4ec to your computer and use it in GitHub Desktop.
// Globally
git config --global user.name "your_name"
git config --global user.email "your_email@example.com"
// Locally
git config --local user.name "your_name"
git config --local user.email "your_email@example.com"
// To store password
git config --global credential.helper store
git config --local credential.helper store
// Then
git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment