Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 661 Bytes

99_Instructions for GitHub.md

File metadata and controls

42 lines (30 loc) · 661 Bytes

Instructions for GitHub

1. Pull changes from GitHub

  • You first need to download the changes
  • from the online folder
  • Otherwise, conflicts may arise later
#set the terminal in the folder
cd path/to/folder

#download the online changes
git pull

2. Push changes to GitHub

  • Then, you'll work on the materials
  • And, once you finish
  • you will upload the changes to github.com
#set the terminal in the folder
cd path/to/folder

#add changes to commit
git add -A

#commit the changes
git commit -m "some messages"

#push the changes to github.com
git push

3. Other Useful Commands

#check the folder status
git status