Coder Social home page Coder Social logo

uva-hspc-assignments's Introduction

UVA HSPC Practice Assignments

How to use git(hub) for the practice problems

  1. accept assignment, click link(assignment links can be found further down the page)
  • at this point a new personalized(your own) repo will be created
  1. copy url of created repo
  2. start the gui
  3. [select "clone existing repository"](/screenshots/1.png?raw=true Screenshot 1)
  4. [fill in the information](/screenshots/2.png?raw=true Screenshot 2)
  • Source: the url of the repo that you copied
  • Target: hit "browse" and choose where to save the repo
  1. [hit "clone" to clone the repo and wait for it to finish](/screenshots/3.png?raw=true Screenshot 3)
  • the repository should be copied to the specified location
  1. write code
  • open the Main.java file(the one cloned to you computer in the step above)
    • or create/open some other file in that directory
  • write some code
  1. commit
  • [tell git to rescan the directory(important)](/screenshots/4.png?raw=true Screenshot 4)
  • [you should see Main.java and any other files you changed under "Unstaged Changes"](/screenshots/5.png?raw=true Screenshot 5)
  • [stage the changes 6](/screenshots/6.png?raw=true Screenshot 6)
  • [write a commit message(required) - a short description of what you changed/fixed/implemented/etc... and hit "commit"](/screenshots/7.png?raw=true Screenshot 7)
  1. test
  • if works go to step 10
  • othewise go back to step 7
  1. push changes to github
  • [hit "push"](/screenshots/8.png?raw=true Screenshot 8)
  • [and hit push again](/screenshots/9.png?raw=true Screenshot 9)
  • type in your username/password as needed

That's it. You have uploaded your changes. If you want, you can repeat steps 7-10 as many times as you want.

Step 1 needs to be done once per assignment. Steps 2-6 need to be done once per copy(although you should only need 1 copy).

Links

2011

2012

2013

2014

2015

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.