mirror of
https://github.com/meyerAurelius/UCBajaElectrical.git
synced 2026-05-12 00:55:00 -06:00
A repo for the electrical subteam
- Assembly 34.1%
- CMake 31.6%
- C 23.2%
- C++ 5.4%
- JavaScript 5.2%
- Other 0.4%
|
|
||
|---|---|---|
| .vscode | ||
| accel | ||
| BAJA | ||
| dashboard | ||
| gps | ||
| remote_dash | ||
| three.js@cd704f2298 | ||
| .gitmodules | ||
| README.md | ||
UCBajaElectrical
A repo for the electrical subteam 2024-2025
How to use this repo:
Installation: Debian/Ubuntu
- Create a Github account
sudo apt update && sudo apt install git ssh(ensures git and ssh are installed)ssh-keygen -t ed25519 -C "your_email@example.com"(replace with your credentials used to create github account)cat .ssh/id_ed25519.pub(copy this output)- Paste the output in step 4 into the "Key" section of this form: https://github.com/settings/ssh/new
- Click "Add SSH Key" (fill in the title with bajaSshKey), this should succeed without errors
ssh-add .ssh/id_ed25519(makes the key you generated in step 3 availible to ssh)- Check the connection to github with
ssh -T git@github.com(you should see your username in the output) - Change to a directory where you want the baja code stored
git clone https://github.com/meyerAurelius/UCBajaElectrical.git(clones the repo)git remote set-url origin git@github.com:meyerAurelius/UCBajaElectrical.git(sets to origin to our repo for when code is pushed).- Enjoy!
Installation: Windows
- Download and install the 64 bit standalone version of git bash (https://git-scm.com/downloads/win)
- Open git bash cli
ssh-keygen -t ed25519 -C "your_email@example.com"cat .ssh/id_ed25519.pub- Paste the output in step 4 into the "Key" section of this form: https://github.com/settings/ssh/new
- Click "Add SSH Key" (fill in the title with bajaSshKey), this should succeed without errors
- Type in git bash cli:
eval "$(ssh-agent -s)"(ensures ssh-add is running) ssh-add .ssh/id_ed25519(should return without errors)- Check the connection to github with
ssh -T git@github.com(you should see your username in the output) - Change to a directory where you want the baja code stored
git clone https://github.com/meyerAurelius/UCBajaElectrical.git(clones the repo)git remote set-url origin git@github.com:meyerAurelius/UCBajaElectrical.git(sets to origin to our repo for when code is pushed).- Start working on your code!
How to sync local code with code on github:
1.git pull
How to upload your work to git:
- Navigate to directory containing repo.
git add -A(adds all files to commit). If you only want to add certain files to your commit, rungit add filenameinsteadgit commit -am "Label your commit withing these quotes"(creates a commit)git push(pushes your commit to github)