Created
July 14, 2019 22:35
-
-
Save RedTahr/5a6d86f9202372749497702abc328fcc to your computer and use it in GitHub Desktop.
basic setup git commands that i rarely need so always forget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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