Note: Public repos are always free, and private repos are free when you get a free student account, and otherwise you currently have to pay $7/month to get unlimited private repos. Check the option to initialize this repository with a README, and optionally choose a license for your project. Give your new repository a short and memorable name, ideally using lowercase letters only and dashes to separate words, e.g. Login to your GitHub account and create a new GitHub repository at this link. The rest of the tutorial will use an existing repo we created for this tutorial.Ĭreating your own GitHub repo is simply a matter of filling out one screen. (Optional) Create a new (public or private) repo on github: This step is optional but a good idea if you are currently working on a project you want to version control. We will focus on a very common workflow (and increasingly common as GitHub becomes more ubiquitous): first creating a “remote” repository on GitHub, then importing this repository or “repo” into Eclipse.ġ. There are a few ways you can create a version controlled project to use with Eclipse. Part 2: Create a project with GitHub and Eclipse
Since version control is becoming less and less optional, EGit now comes pre-installed with Eclipse downloads! In case you do have an older version of Eclipse, install EGit as described in Installing EGit in Eclipse. EGit: EGit is a plugin for Eclipse which allows you to interface with Git.
The recommended version tested with this tutorial is Eclipse Mars 4.2, Eclipse IDE for Java Developer.
To get started you need the following software installed on your computer: Eclipse, and EGit.
This tutorial in the context of the Reproducible Research Workshop provides you with the first steps on how to use Git with the Eclipse IDE.