deviprsd / UVA

A code backup for answers of UVA.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UVA

This repo is to store answers of UVA questions.

If you are interested in UVA, please visit here

You also can check us out at YouTube, click here to subscribe our channel.

Updates

Notes

  • How to start (ONLY FOR THOSE WHO USE COMMAND LINE):

    $ git clone https://github.com/PuzzlesLab/UVA
    
  • How to update this repo (if you are one of the team) [UPDATE SOURCE CODE ONLY]:

    • (assume you've cloned this repo)

    • Pull all changes first

      $ git pull origin master
      
    • Make your changes (DO NOT TOUCH OTHER'S CODE)

    • Commit your changes

      $ git add -A
      $ git commit -m "<your message>"
      
    • Push your commit

      $ git push origin master
      
  • How to write and use a shell script for updating repo (For command line only) [This little tool will create unique commit description and leave others changes alone:

    • Write a shell script for updating repo (assume your script is update-<yourname>.sh [e.g. update-duguyue100.sh])

      git pull origin master
      
      now="$(date): update all by <yourname>"
      
      git add -A README.md
      git add -A <your-folder>/*
      git add -A update-<yourname>.sh
      
      git commit -m "$now"
      
      git push origin master
      

      Copy above code to update-<yourname>.sh.

    • Use a shell script for updating repo

      $ sh update-<yourname>.sh
      

Contacts

Puzzles
Email: amy.theia.knuth@gmail.com

About

A code backup for answers of UVA.

License:GNU General Public License v3.0


Languages

Language:Java 99.7%Language:C++ 0.1%Language:Shell 0.1%Language:Python 0.1%