Student work for General Assembly's Data Science course in Washington, DC (10/2/14 - 12/18/14).
View course materials in the main course repository.
- Use valid Markdown in your Markdown files
- When naming files, never use spaces and generally avoid capital letters
- Don't add large files unless absolutely necessary (e.g., resize your images to a reasonable size)
- Fork the primary DAT3-students repo on GitHub
git clone URL_of_your_fork
: copy your fork to your local computer (automatically defines your fork as the remote origin)cd DAT3-students
: change into the DAT3-students subdirectory that was just createdgit remote add upstream URL_of_primary_repo
: define the primary DAT3-students repo as the remote upstream
git pull upstream master
: fetch changes from the master branch of upstream, and merge those changes into your master branch- Copy your homework file(s) to your folder
git add .
orgit add name_of_file
: stage file modifications, additions, and deletionsgit status
: check that you staged what you intended to stagegit commit -m "message about commit"
: commit any changes that have been stagedgit push origin master
: push your changes to the origin- On GitHub, create a pull request: ask the upstream to merge your changes into its master branch
git status
: view the status of files in your repo (untracked, modified, staged)git log
: view the detailed commit history (typeq
to quit)git log -1
: only show the last commit (you can use any number)git log --oneline
: show each commit on a single line
git remote -v
: view your remotes- Detailed reference guide
- Quick reference guide