Coder Social home page Coder Social logo

mmart-168-fall2017's Introduction

MMART 168: Course Repository

Berkeley City College, Fall 2017

This course repository will house homework assignments, useful scripts, and code samples.

To install the software needed for the course on a Mac, please execute the following:

bash utilities/mmart168-installation.sh

Setup

  • Fork the repository from here to your personal account

  • Clone it down to your computer through the following terminal command. This will create a folder on your local machine.

git clone https://github.com/<YOUR_USERNAME>/mmart-168-fall2017.git
  • In order to merge in the latest assignments you'll need to create a remote to the base homework repo. If this is confusing, don't worry too much - just use the following command:
git remote add upstream https://github.com/mmart168/mmart-168-fall2017.git

Rebasing

Each week, we'll add a new folder for that week's homework. In order to get the new homework, use the following command:

  • Each week, you'll rebase from the class repo, which will give you access to the latest homework assignment on your local machine.
git pull --rebase upstream master

Submitting Homework

In order to submit your homework, you'll need to push your changes to your github repository. This will take a couple of steps.

Create a new branch

Before you start your homework, make sure you're working on the branch master. If you are not, use the following command:

git checkout master

To create a new branch, use:

git checkout -b <branch-name>

Note: Branch names should be semantic. We recommend using something like hw01

Do homework

Unfortunately, there's not a simple git command for this. Just use your favorite text editor. (:

Add changes

Once you've finished the homework and are ready to submit, check to see which files you've changed using

git status

Add the appropriate files using

git add <file1> <file2>

Note: if you want to add all files, use:

git add -A

Commit changes

Commit changes using the following command:

git commit -m "<your commit message here>"

Note: make sure to use a semantic commit message in the PRESENT TENSE, e.g., "Add DOM manipulation function to HW01"

Push changes to master

Finally, push your changes to your github repository with the following:

git push origin <branch_name>

mmart-168-fall2017's People

Contributors

vanwars avatar ayyrickay avatar

Watchers

James Cloos 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.