-
Notifications
You must be signed in to change notification settings - Fork 17
Contribution
Jiajun edited this page May 15, 2023
·
4 revisions
Git Merge workflow is our current development mode.
- Make sure you are in main branch and already update latest changes from origin/main.
git branch // See if you are main branch
git pull // Avoid you are behind origin/main
- Create a new branch from main branch and checkout it.
git checkout -b feature // -b means create branch at first, then checkout
- Make contributions and commit.
-
git add .
// Please check if you missed something git commit -m "add feature xxx"
-
- Push feature branch to Github repo and create Pull Request.
- If you are outside collaborator, please fork at first then push to origin.
- If you are member of CatDogEngine, please directly push to this repo.
- Create Pull Request from your branch to origin/main.
- Wait Github Action build. It should be successful for all current support platforms.
- Invite current active developers to help to have a code review.
- CatDogEngine developer will help to squash and merge if your branch have a long history of commits. It is better if you can clean commits history by yourself!