RLadies GitBook 初心者教學手冊

Git Commands

  • download a book (or a respository) from Gibook (step 1 in flow chart)
    git clone https://git.gitbook.com/okamipride/gitbookbasic.git
    
  • check status (看那些 file 被更改過)
    git status
    
  • git add files (加入更改好的檔案) (step 3, 7)
    git add filename
    git add co-editinggit_use.md
    
  • git commit (step 4, 8)
      git commit 
      git commit -m "edit content "
    
  • pull from server (branch master) (step 5)
    git pull
    
  • push to server (branch master) (step 9)
    git push
    git push origin