Using GitHub - PygameProjects/battleship GitHub Wiki

Forking the Repo

  1. Fork repository from page on the GitHub website
  2. Clone your fork from your GitHub client
  3. From the Git shell: git remote add upstream git://github.com/maurib3/Pyproject.git
  4. From the Git shell: git fetch upstream

Issuing a Pull Request

  1. Go to your fork on the GitHub website
  2. On the Code tab select the Branch you want pulled
  3. Press the Pull Request button

Pushing commits to the Repo

  1. From the Git shell: git commit -a -m "Fix #1 adding buttons"
  2. From the Git shell: git push origin
  • NOTE: Adding the text "Fix #1" automatically closes Issue #1, use "#1" to only attach a comment to Issue #1