Git-Notes
VIM prompt “:” :wq → save & quit :q! → quit without saving GitHub Token Location + Brew Installaiotn commands (One Time): Token Setup: GitHub → Profile Icon → Settings → Developer settings → Personal access tokens → Tokens Modern One (Not Classic). Use this when it asked you the password. commands for homebrew + git brew install git brew --version # Run these commands in your terminal to add Homebrew to your PATH: echo >> /Users/fewsteps/.zprofile echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/fewsteps/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)" GitHub Workflow for Multiple Users and Devices — Complete Command Guide git pull origin main # 1. Get latest project (always do this first) git checkout -b my-feature-branch # 2. Create your own branch (give your branch a unique name) # (edit code normally) # 3. Make changes to your files git add . # 4. Stage and commit your changes git commit -m "my update" git push origin my-feature-branch # 5. Push your branch to GitHub # 6. Go to GitHub website # → Open Pull Request → Merge branch into main (No terminal command — you click buttons on GitHub) git checkout main # 7. After the PR is merged, update your local main # git pull origin main # beginning of thask Future Modifications Workflow After a branch is merged, create a new branch for any new changes. ...