Git
Commands Install: winget install git Set up: git config --global user.name "User Name" git config --global user.email "email@email.com" Create a New Project: mkdir project cd project git init (initialise empty git repo in my folder (based on path) aka .git folder) ls -la (check my folder) Check “world status”: git status Help for each command git help <command> Add files git add . = add all on current branch git add -p <param=file> = add part of file to staging area, ask for each change (if no param => all files) so we have more control and cleaner commits. _After any git add, we need a git commit, either a file or a pattern (e.g. _.txt) * Delete a file git rm <filename> = deletes a file, updates git and then commit! git rm --cached <filename>" = delete a previously tracked file Move a file git mv <old path> <new path> should be followed by: git rm <old path> git add <new path> ...