Skip to content

Git

  • git init Initialise git repository
  • git add <file> Add file to staging area
    • git add . Add all files to staging area
  • git commit Commit current changes
    • git commit -m "<message>" Commit with message
  • git push Push changes to remote repository
  • git pull Pull changes from remote repository
  • git status Check status of repository