-
Notifications
You must be signed in to change notification settings - Fork 38
Git etiquette
Alex Baucom edited this page Mar 20, 2017
·
2 revisions
Every team member should strictly follow the rules for git.
-
Branch management:
- There is a "master" branch for every period of UPennalizers development. The name follows
Robocup20xx
for overall development,USOpen20xx
for branch used during U.S.Open competition,Germany2016
for competition branch during Robocup World Competition. In addition, we occasionally haveVisionDev20xx
for vision-related developments,MotionDev20xx
for locomotion-related developments. Other branches that individuals created will be deleted after finish. Lastly, we use demo for demos in the lab. - Official branches are expected NOT to contain any broken code, we will inspect using git commit log.
- There is a "master" branch for every period of UPennalizers development. The name follows
-
Mandatory rules:
- Check branch and pull on robot / personal computer before starting to work.
- Commit changes at least on a daily basis
- Test related processes to make sure everything is working BEFORE committing your changes. NO broken code should be committed on git.
- All commits must include (e.g. rachel dcm.lua fixed merge conflict, added detailed comments)
- Make sure to include your name in any commits, and never have uncommitted, local changes on a robot. (save files to your local machines as backup if you also don't want to commit the files / changes)