使用Git一起工作 基本設定 環境安裝與設定 開始使用Git 使用master或main主要分支 回復被刪除的檔案或被編輯的內容 不想被追蹤的檔案.gitignore git checkout 檢查先前修改的檔案 commit的修改 修改目前commit --amend git reset (--hard,--soft,--mixed) git rebase 修改commit message 刪除commit 合併commit 切割commit branch單元 分支 標籤-tag GitHub 1. GitHub基本操作 2. 使用github cli建立github repo 3. 使用github網站建立repo 本地端資料夾(有資料) 本地端資料夾(沒有資料) 4. 建立GitHub專用的憑證 5. 建立GitHub專用的ssh 共同開發PR 1. fork 2. Pull request