Git Workflow for FTC Teams
Protect working code while students experiment.
Protect working code while students experiment.
In this lesson, you will:
Git is how the programming team experiments without losing the last working robot. It creates a history that can be reviewed, reverted, and trusted at events.
A branch is a safe workspace. A commit is a named robot behavior change. A pull request is a chance for teammates to catch risk before the robot does.
Use short-lived feature branches, commit small behavior changes, pull before field testing, and tag or record the deployed commit before matches.
GitCommands.mdJava
git switch -c feat/arm-telemetry git status git add TeamCode/src/main/java git commit -m "feat: add arm state telemetry" git push
If nobody knows what code is on the robot, debugging starts in a hole. If commits are huge, rollback is scary.
Make a branch, commit one telemetry improvement, and explain how to revert it.
Check your understanding before moving on.
0 of 2 answered