Skip to content

How to work on this project?

Ultimate Pea edited this page Feb 22, 2017 · 24 revisions

Welcome to the JavaSketchPad wiki!

First follow basic git tutorial at http://ieng6.ucsd.edu/~cs15x/labs/lab5_cxvkjf/index.html.

###Before you make any changes, make a copy of the develop branch.

$ git clone https://github.com/UCSDOalads/JavaSketchPad.git by default clones the master branch, you need to get the develop branch, using the following command

$ cd JavaSketchPad
$ git branch -a
$ git checkout -b develop origin/develop

Now you are on the develop branch, before doing any work, create a new branch. Please do not edit file directly on develop branch, and your new branch should be directly pushed to the remote.

###Create a new branch by

$ git checkout -b addXXXXbyYYYY

where XXXX is the Changes you want to make and YYYY is your name.

You can verify that you created a new branch by

$ git branch

##Now you can work and commit on all files as you wish.

##After you're done committing changes, push your local branch directly to remote using

$ git push origin addXXXXbyYYYY

Clone this wiki locally