Skip to content

Instantly share code, notes, and snippets.

@DamianSuess
Created July 20, 2022 17:39
Show Gist options
  • Select an option

  • Save DamianSuess/42c84ca4182e2728663bcb6c888d2265 to your computer and use it in GitHub Desktop.

Select an option

Save DamianSuess/42c84ca4182e2728663bcb6c888d2265 to your computer and use it in GitHub Desktop.

Git Cheat Sheet

Cloning and set User

$ git clone [REPO-URL]

Setup User Name and Email

Global Setting

$ git config --global user.name "FIRST_NAME LAST_NAME"
$ git config --global user.email "[email protected]"

Repository Specific

git config user.name "FIRST_NAME LAST_NAME"
git config user.email "[email protected]"

Verify via, cat .git/config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment