Learn Git [Full Course] | Boot.dev

Git Tutorials and Training | Atlassian Git Tutorial

Setting name and email

open git bash

$ git config --global [user.name](<http://user.name/>) "Cooper Johnstone"
$ git config --global user.email "[[email protected]](<mailto:[email protected]>)"

View current config

git config --list --local

Creating a repo

in vs code cmd line (ctl `)

adds a .git folder in the working folder

git init

Adding to stage and comiting

Add all files

git add .

Add specific file

git add filename.ext

commit

git commit -m 'og'

Unstage

unstage all