New TVC repo for Fall 2025
Please follow the below guildlines before making changes
To get started, clone this repo using:
git clone https://github.com/username/repo-name.git
cd repo-name
In this case, repo-name should be tvc
You can copy the url from the green "code" button
git pull origin main
- This will get the latest version from the GitHub repo and merge them into your branch
BRANCHES (Always make a branch for any batches of changes --then make your commits to that branch; REMEMBER TO PULL MAIN BEFORE YOU WORK!):
Name your branches with this format:
<type>/<topic>/<signature>
Example Types:
featurefor new functionalityfixfor fixing a bug in an existing featuretestfor testing new ideasrefactorfor changing structure of code, but not actual functionality
<topic> is the specific system/focus of your changes, like:
pid-controlleravionics
These are less defined than Types, but please try to keep naming consistent.
It is important to end your branch name with your signature, both for organization and so you can have credit for what you add.
- For the format, use
{first name}{last initial} - Ex: My (Harry Whalen) branch would end with
/harryw
Before you begin any work, make the branch for the changes
-
Follow the above naming scheme, then use:
git checkout -b branch-name -
You can switch to an existing branch by using:
git checkout branch-name -
You can check what branch you are on with:
git branch -
Check where your branch is compared to main:
git status
Now that you are on your branch, make your changes.
Once you are done, you can stage your changes to your branch:
git add <file-name>
-
using "." instead of "file-name" will commit all files in the working directory
-
Now commit your changes:
git commit -m "{describe what you changed within these quotes}"
This adds a message to your commit, make sure you include one.
This will make sure your branch is up to date with new changes from the remote repo (here in GitHub)
git push origin <your branch name>
“Compare & pull request”
Click this, fill out the prompts, and submit the PR for review.
- After your branch is merged into main, you can delete it in GitHub by viewing your branches and clicking the trash can
- To delete on your local repo, run
git branch -d <branch name>
If this is your first time contributing to this project, make your first change by adding your name to the list of contributors
- make your branch
update-contributors/<signature> - edit
contributors.mdby adding your name and signature, keeping the same formatting - Follow the steps to commit and push your changes (don't forget to pull the latest changes first!)
- Have your PR reviewed, and then it will merge with the main branch if there are no conflicts
- once it is merged into main, you can delete your branch