Skip to content

Instantly share code, notes, and snippets.

@RedTahr
Created July 14, 2019 22:35
Show Gist options
  • Save RedTahr/5a6d86f9202372749497702abc328fcc to your computer and use it in GitHub Desktop.
Save RedTahr/5a6d86f9202372749497702abc328fcc to your computer and use it in GitHub Desktop.
basic setup git commands that i rarely need so always forget
# https://www.git-tower.com/learn/git/faq/change-author-name-email
$ git config --global user.name "John Doe"
$ git config --global user.email "john@doe.org"
or --local to set per repo
# https://help.github.com/en/articles/setting-your-commit-email-address
<username>@users.noreply.github.com
# https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup#Checking-Your-Settings
git config --list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment