When making a new PCB, if the board is to be manufactured by JLCPCB. import the corresponding board constraints from Board Templates/JLC
This section will walk you through downloading the repository to your computer for the first time. You only need to do this once.
A token is essentially a password that lets Git on your computer talk to GitHub securely.
- Log into GitHub
- Click your profile picture → Settings
- Scroll down and click Developer settings (bottom of the left sidebar)
- Click Personal access tokens → Tokens (classic)
- Click Generate new token (classic)
- Give it a name (e.g.
git-access), set an expiration, and check the repo scope - Click Generate token and copy it — you won't be able to see it again!
"Cloning" means downloading a full copy of the repository to your computer.
Open Git Bash and run the following commands one at a time:
git clone https://github.com/LSUTigerRacing/Electronics.git
cd ElectronicsWhen prompted for a password, paste the token you copied in the previous step.
In Git Bash, highlight and right-click Electronics to open the folder in File Explorer. From there, open the KiCad project file (.kicad_pro).
This section covers the full workflow for making changes and submitting them every time you work on something.
Important
Never commit directly to main. All changes must go through a pull request.
Before starting any work, pull the latest changes from the repository so you're not working on an outdated copy.
cd Electronics
git pull origin mainA "branch" is your own isolated workspace. Think of it like making a photocopy of the project — you make your edits on the copy, and only merge it back once everything looks good.
Replace your-branch-name with something descriptive (e.g. fault-latch-rework).
git checkout -b "your-branch-name"Open the KiCad project and make your changes. Save your work when done.
"Staging" tells Git which files to include, and "committing" saves a snapshot of those changes with a description.
git add .
git commit -m "Brief description of what you changed""Pushing" uploads your local branch so others (and GitHub) can see it.
git push -u origin "your-branch-name"- Go to the repository on GitHub
- Click the Pull requests tab
- Click New pull request
- Set the base branch to
mainand the compare branch to yours - Give it a clear title and description of what you changed
- Click Create pull request
A reviewer will look over your changes. Once approved, your branch will be merged into main and can then be deleted.

