Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 794 Bytes

File metadata and controls

16 lines (12 loc) · 794 Bytes

Ace Team Git Commit 原則

    1. 實作功能務必先開新分支 git checkout -b 你的分支名稱
    • 每次修改完送的Pull Request不要切的太大顆。
    • 每次Pull Request請每一位組員們看過,留下comment。
    • 最後一位comment的人負責git merge
    1. 如果有其他人送的Pull Request已經被git merge進主分支,請常常git pull,讓你的本地repo盡量跟遠端origin/master同步。
    1. 如果修改的部分和遠端origin/master相差太多,請善用git rebase功能!
    • git pull,讓你的本地repo跟遠端同步。
    • 切換HEADorigin/master
    • 再把你修改的那一段git rebase到遠端上。
  • 待討論事項:可考慮開一個develop分支