labs / tiddlers / content / labs / lab02 / _Labs_02_Clone the lab02

You should remember from INFO 201 that currently the Git repository only exists on the GitBucket server. We need to clone a copy down to your home folder so that you can use it.

  1. Start NetBeans if you haven't already.

  2. Use <

    Git > Clone">> to clone the repository.

    If you already have Git repository open the NetBeans the <

    > menu item be in the < Remote">> menu.

    If asked for a master password at this point (or any later point), it is: password

  3. Switch to the GitBucket quick setup page in your web browser and copy one of the origin URLs for your repository from the page. It will start with https:// and end with .git.

  4. Delete the existing text in the <

    > text box in NetBeans.

  5. Paste the copied URL into the <

    > text box.

  6. Enter your GitBucket username and password and check the save password check box.

  7. Under the <

    > section click <>.

    Navigate to a location where you want to store your course project. If you have not done so already, you should create a folder named info202 in the <> folder for storing your INFO 202 coursework.

    Take note of this location --- you will need to navigate to this folder via the file manager soon.

  8. Click <


  9. Click <

    > again since there are no remote branches to worry about yet.

  10. Change the <

    > to indicate that the folder is a git repository. We recommend that you append _git to the name, so the complete name would be lab02_git.

  11. Uncheck the <

    > checkbox. We will create the project ourselves via Gradle in the next section, so we don't want NetBeans to do this for us.

  12. Click <