Skip to content

Instantly share code, notes, and snippets.

@schmmd
Last active December 26, 2015 19:09
Show Gist options
  • Save schmmd/7198910 to your computer and use it in GitHub Desktop.
Save schmmd/7198910 to your computer and use it in GitHub Desktop.
Upload to github

First make sure you have ssh access to your GitHub account. This will make all future interactions with GitHub much easier.

https://help.github.com/articles/generating-ssh-keys

Next you can:

  1. Create a new repository on github.com/vulcanhalo.

  2. If you do not yet have a git repository:

  3. Clone the new GitHub repository: git clone git@github.com:vulcanhalo/openie-solver.git

  4. Add the files you want to your git repository: git add <filename>

  5. Make a first commit: git commit -m "First commit."

  6. Push your changes. git push -u origin master

  7. If you already have a git repository containing your code:

  8. Add a remote to your github repository. git remote add upstream git@github.com:vulcanhalo/openie-solver.git

  9. Push to your upstream repository: git push upstream master

Keep in mind:

Here are some resources for how we use GitHub:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment