Code Monkey home page Code Monkey logo

cs360-projectb-group20's Introduction

CS360 ProjectB Group 20 Repo

Steps for working on a new feature

  1. Make sure you're on master: git checkout master
  2. Pull down any changes that might have occured since you last pulled: git pull origin master (Don't do this anywhere but master!)
  3. Create a new feature branch: git checkout -b name-of-feature-branch
  4. Do work on your feature branch.
  5. Add and commit your changes as you work:
    • git add <filename> adds a file to the staging area
    • git add . adds everything to the staging area
    • git commit -m "describe the changes in this commit" (commits are typically reserved for when you complete a good chunk of a new feature)
  6. Once your feature is complete, push it to its own branch of origin: git push -u origin HEAD
  7. Log into GitHub and create a pull request.
    • In the pull request, tag 2-3 of the other group members as reviewers.
    • The other members should pull your down to their C9 workspace (git pull), and then test to ensure it does what you say it does.
    • Once the code has been reviewed, the other members approve it.
  8. Once your code has been approved by the other reviewers, merge the pull request (PR) into master.
  9. At that point, you should be good and everyone else should switch to master and perform a git pull
    • If you have any merge conflicts, stop and reach out to someone with experience dealing with them. They take more time to describe than I have here.

Important Notes

  • You should NEVER work directly on master or push directly to master.
  • If you want to figure out what your code changes and you have un-comitted changes, you can run git diff.
  • For a cool way to view the log of changes in any git repo, add the following to your .gitconfig:
    • lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit

Most Importantly: Let's have fun with this project!

cs360-projectb-group20's People

Contributors

pfohlj avatar cdjames avatar japfohl avatar slim-builder avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.