Eclipse GitHub Repo
- Launch Github Desktop
- File > New repository
- Leave Default Path alone (E:\GitHubRepo). Just type in a name then Create Repository.
- Repository > Show In Explorer
- This is where you will be copying your eclipse source folder
Now In eclipse right click on project. Then Show In > System Explorer.
Copy the project folder and paste it in the folder in step 4.1.
Copy a .gitignore from a previous project into the same place.
Contents of .gitignore
# Java related
target/**
*.jar
*.war
*.ear
*.class
# eclipse specific
*.pydevproject
.project
.metadata
bin/**
bin/
tmp/**
tmp/**/*
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath
# External tool builders
.externalToolBuilders/
# Locally stored "Eclipse launch configurations"
*.launch
Your repository in step 4.1 should look like this now.
Now type in a summary in the github app. And an optional description of the changes. Then press Commit.
After you commit you have to Publish. in the top right.
Any future commits have to be Pushed. also in the top right (it isn't called Published)
