-
Notifications
You must be signed in to change notification settings - Fork 0
Using Git
Rachael Brady edited this page Oct 20, 2024
·
4 revisions
Using Git, not github
Do not follow these instructions until the Videos are released.
- Git Config
Set up your git. This will be used for GitHub later.
- Add your name and email to your git.
First lets check if you have a name and or email set up in Git.
git config --get user.name
git config --get user.email
- Set your default branch
git config -global init.defaultBranchmaster
Check that it added by listing out your config.
cat ~/.gitconfig
The ~
is a shortcut to your home directory. For example my full directory would be:
/Users/rachael
Instead of typing ~
it would be this:
/Users/rachael/.gitconfig