Creating Repositories - Eastside-Catholic/Tutorial GitHub Wiki
-
On http://github.com, click "+ New Repository":
-
Choose a name. Leave "Initialize this repository" UNCHECKED
-
Click the clipboard icon to copy the git url
-
Create a new Java project in Eclipse. Make sure the name is the same as the repository name.
-
Right click on the project, and select Team > Share Project.
-
Select "Use or create repository...", click on the only project entry, click "Create Repository", and click Finish.
-
Right click on the project, and select New > Class
-
Choose a name. Main is recommended. Click Finish.
-
Right click on the project, and select Team > Commit (Keyboard shortcut: Ctrl+#)
-
Type a commit message that describes your changes, click "Commit and Push" (Examples of good/bad commit messages)
-
Paste the url from step 3 into URI. If the Authentication section is empty, type GitHub username and password, and check "Store in Secure Store"
-
Click Next
-
Click Finish
-
Click OK