IntroductionGitHub is a code hosting platform for version control and for collaboration. You can work together on projects from any place you want. Now once in a while, I'm using Github for working on my R skills For exercises in the course I need to create and maintain a Github repository. A repository is a usually a project and it can contain files and folders.
Now as I said, I'm not an user that often uses Github and therefore I wrote this blog. There are a couple of steps that you have to do in order to check in your code, in short:
- Create the Github account.
- Install the Github Desktop.
- Create a repository.
- Copy the files in the Github folder.
- Commit the code.
- Sync the code with Github.com
Commit and syncing, I do find a bit confusing: Commit is saving the code in your project and syncing is syncing the commited code with Github.com. Let's keep that in mind.
Working with Github
Now if you create a repository a folder is created. this one is for the course Reproducible research R on Coursera.
Opening github desktop will show the files and code in the github folder on your local system.
Nothing is in the github.com repository, yet
And the files are synced with Github.com
A small blogpost about using Github with Github desktop.