Skip to content

Instantly share code, notes, and snippets.

@vyasriday
Last active April 25, 2020 11:53
Show Gist options
  • Select an option

  • Save vyasriday/aa2122be26fe82a026da0b9054660bac to your computer and use it in GitHub Desktop.

Select an option

Save vyasriday/aa2122be26fe82a026da0b9054660bac to your computer and use it in GitHub Desktop.
how to set up git config for a repository

Set up git configuration

  1. Set up for each repository locally
$ git config --local user.email "email"
$ git config --local user.name "name"
  1. Set up global configuration
$ git config --global user.email "email"
$ git config --global user.name "name"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment