-
Notifications
You must be signed in to change notification settings - Fork 0
Git: Procedure to push and pull
Joseph Cammarata edited this page Nov 18, 2021
·
5 revisions
Thanks Matt (copied from issue #51)
- Download git - Link
- Add git to PATH
- (Optional) Download git desktop - Link
- Go to the directory you wish to make a folder with code (Repository)
- git clone to copy a repo into a local folder
- cd into the created folder with the repo
- git checkout -b "" to create a new branch
- Edit code
- git add Filename_you_edited or git add . to add all files
- git commit -m "COMMENT WHAT YOU DID"
- git push
- git checkout main to return to the main branch
- Make a new pull request on GitHub.
- git branch -d branch_name to delete from terminal
- git pull to pull in other people's changes
- git branch to see all available branches