Order Of Operations

Local > remote

  1. Add the changed files
  2. commit the files
  3. push to repo
git add -A
git commit -m "message"
git push origin main

Remote -> local

  1. Pull changes to local folder
git pull origin main

Add remote origin

git remote add origin remote-origin-url-here

 


Revision #3
Created 22 March 2025 07:10:44 by Conor
Updated 26 October 2026 09:18:05 by Conor