Skip to content

SJSURoboticsTeam/urc-control_systems-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SJSU Robotics Control Systems

Testing Document

How to clone and create branch for submitting a pull request (PR).

  1. Clone / Download the Repo
    git clone https://github.com/SJSURoboticsTeam/urc-control_systems-2021.git
  2. Change into the Repo's Directory
    cd urc-control_systems-2021/
  3. Create new branch from current branch (since this is new project it is master branch)
    git checkout -b some-branch-name
  4. Stage all the files you want to commit to git version control system. You can add multiple files at a time.
    git add name.cpp of.cpp files.cpp here.hpp
  5. Add a commit message describing what you changed.
    git commit -m 'example of a commit message'
  6. Push local git commits to github. Will push according to the branch you are currently on.
    git push
  7. Go to the Repo's GitHub website
    https://github.com/SJSURoboticsTeam/urc-control_systems-2021
  8. Go to the Pull Request tab and click 'New Pull Request' button. https://github.com/SJSURoboticsTeam/urc-control_systems-2021/pulls
  9. Select your branch that you want to make a pull request with using the 'compare' drop down list.
  10. Click 'Create Pull Request'
  11. Within the pull request description make sure to link the Pull Request to a GitHub Issue found within the SJSURoboticsTeam/urc-central-2021 repo. Then add the following 'Resolves SJSURoboticsTeam/urc-central-2021/issues/#'
    Example: Resolves SJSURoboticsTeam/urc-central-2021/issues/100

Helpful Git Commands

git status - Shows all the files you have changed and have not yet committed.
git branch - Shows the recent branches you've used and your current branch.
git pull origin/master - Used for merging code with master when there are code conflicts. Need to be on development branch to use.

About

Repo for Control Systems Fall 2020 - Spring 2021

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published