Giter Site home page Giter Site logo

code-reviews's Introduction

Code reviews!

Tips

  1. Code in any language you want to.

  2. You don't need to have the complete solution before you submit a pull request. It's better to get feedback as you work through the problem.

  3. To make it easier for others to run your code, please include a build script and README detailing how to build, run, and test your code.

  4. Watch the https://github.com/CougarCS/code-reviews repository to receive all code reviews for everyone in your e-mail. This way you can learn from more people.

  5. Have fun!

Instructions

  1. Install git.

    On Unix, Mac OS X, use your package manager.

    On Windows, install Git Bash. You can type your git commands in the Git Bash shell.

    If you are new to Git, go through the tutorial at https://try.github.io/.

    Create a GitHub account.

  2. Go to https://github.com/CougarCS/code-reviews. Click fork.

  3. Clone your fork:

     git clone https://github.com/[YOUR USERNAME]/code-reviews
    
  4. Open up a bash prompt (Git Bash on Windows). Change your directory to the cloned repository:

     cd code-reviews
    

4a. Run the command:

   ./review.pl

This will present a menu that will help you make pull requests on separate branches for each problem.

4b. If you understand how to branch, you can choose not to use review.pl. Use the convention of {problem name}/{Github username}.

For example,

   # Github username is foo
   git clone https://github.com/foo/code-reviews
   cd code-reviews
   # you must use upstream/master as your start point to have a clean pull request
   git checkout -b prob01-poker/foo upstream/master
   # solve problem
   git push origin prob01-poker/foo
  1. Submit a pull request by going to your pull request page or go to

     <https://github.com/<GITHUB USER>/code-reviews/compare/>
    

    and compare against the branch for the problem.

code-reviews's People

Contributors

zmughal avatar

Watchers

 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.