First make sure you have ssh access to your GitHub account. This will make all future interactions with GitHub much easier.
Next you can:
-
Create a new repository on github.com/vulcanhalo.
-
If you do not yet have a git repository:
-
Clone the new GitHub repository:
git clone git@github.com:vulcanhalo/openie-solver.git
-
Add the files you want to your git repository:
git add <filename>
-
Make a first commit:
git commit -m "First commit."
-
Push your changes.
git push -u origin master
-
If you already have a git repository containing your code:
-
Add a remote to your github repository.
git remote add upstream git@github.com:vulcanhalo/openie-solver.git
-
Push to your upstream repository:
git push upstream master
Keep in mind:
-
Be sure to include a
README
for documentation. If you name your fileREADME.md
it will support Markdown markup language which is quite handy. -
Don't commit large binaries.
Here are some resources for how we use GitHub: