-
Notifications
You must be signed in to change notification settings - Fork 0
Git Setup
Steve Gibbard edited this page Mar 2, 2024
·
1 revision
git config --listGlobal scope applies to the user logged in to the machine
git config --global user.name "Your Global Name"
git config --global user.email "your@email.com"This is useful when you want a specific setup for a repo (e.g working on a personal project v work project)
You will usually find local config in the repository under .git/config
git config --local user.name "Your Local Name"
git config --local user.email "your-local@email.com"