Skip to content

RutgersMicromouse/git-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introductory Git Workshop

In order to do work on the micromouse repositories, you'll need to complete this workshop, and sucessfully finish all exercises

Task

  • You'll create a branch off master, add a script introducing yourself (your name, github handle, a little bit about yourself).
  • You'll then commit, and push the changes.
  • Finally, you'll make a Pull Request
  • Upon accepting, and merging, you'll then be granted collaboration access on micromouse

review

creating a branch

  • to make a branch, you do git branch <branch name>
  • to start working in the branch, you'd do git checkout <branch name>

pushing a branch

  • If you're pushing a new branch to github, you want to do the following
git push -u origin <branch-name>
  • If your branch is already on github, you can do
git push # you only need -u for the first push after making branch.

making Pull Request

step one: Navigate to the pull request tab

press pull request tab

step two: press "New pull request"

alt text

step three: select your branch in compare

alt text

step four: create new pull request

alt text

Upon approval, you can then merge your changes into the master branch (or whatever branch you want to merge your changes into)

step five: upon your changes being approved, you can press "rebase and merge" alt text

You can then press "confirm rebase and merge"

alt text

step six: Finally, press Delete branch to delete the branch

alt text

final notes

  • When working in the micromouse repositories, you'll make a branch based off master (tbd) for each task.
    • For example, if you're assigned to fix pid, and sensor code, you'll make two branches, one for your pid fix, and sensor code.
  • branch naming conventions are yet to be determined

Look forward to your contributions!

About

Introductory git workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages