Install

Git Configuration

You can configure git for specifically for each .git directory but also can use a global setting. Here, I show how to set the global settings.

# Required
# -----------

# set your name
git config --global user.name "Name Here"

# set your email
git config --global user.email "[email protected]"

# Recommended
# -----------

# set your main branch name
git config --global init.defaultbranch "main"

# set the default code editory to vscode (or anything else)
git config --global code.editory code --wait