Skip to content

Git: Procedure to push and pull

Joseph Cammarata edited this page Nov 18, 2021 · 5 revisions

Thanks Matt (copied from issue #51)

  1. Download git - Link
  2. Add git to PATH
  3. (Optional) Download git desktop - Link
  4. Go to the directory you wish to make a folder with code (Repository)
  5. git clone to copy a repo into a local folder
  6. cd into the created folder with the repo
  7. git checkout -b "" to create a new branch
  8. Edit code
  9. git add Filename_you_edited or git add . to add all files
  10. git commit -m "COMMENT WHAT YOU DID"
  11. git push
  12. git checkout main to return to the main branch
  13. Make a new pull request on GitHub.
  14. git branch -d branch_name to delete from terminal
  15. git pull to pull in other people's changes
  16. git branch to see all available branches

Clone this wiki locally