Version control [ GitHub ] Thomas De Graaff August 23, 2016 - - PowerPoint PPT Presentation

version control
SMART_READER_LITE
LIVE PREVIEW

Version control [ GitHub ] Thomas De Graaff August 23, 2016 - - PowerPoint PPT Presentation

Introduction Assignments: Working with GitHub and GitHub desktop In conclusion Version control [ GitHub ] Thomas De Graaff August 23, 2016 Introduction Assignments: Working with GitHub and GitHub desktop In conclusion Introduction


slide-1
SLIDE 1

Introduction Assignments: Working with GitHub and GitHub desktop In conclusion

Version control

[GitHub] Thomas De Graaff August 23, 2016

slide-2
SLIDE 2

Introduction Assignments: Working with GitHub and GitHub desktop In conclusion

Introduction

slide-3
SLIDE 3

Introduction Assignments: Working with GitHub and GitHub desktop In conclusion

What is GitHub?

GitHub is a web-based Git repository hosting service (Wikipedia). Directed to hosts open source projects Social network functionality (fork/clone projects) Other main competitor: Bitbucket

slide-4
SLIDE 4

Introduction Assignments: Working with GitHub and GitHub desktop In conclusion

Why publish on GitHub?

You can easily share everything that is related to your paper

Text Code Figures/Tables

Could serve as supplementary repository to articles Cooperate with others using Git and GitHub Timestamp your work Github can host static webpages (in combination with, e.g., Jekyll)

In fact, all these workshop materials and this website is just one repository on GitHub ERSA-WooW

slide-5
SLIDE 5

Introduction Assignments: Working with GitHub and GitHub desktop In conclusion

How to publish on GitHub?

You pull material from GitHub and you push material to Github Typical workflow:

1

Pull changes from Github

2

Work

3

Commit your changes to your local repository

4

Work

5

Commit your changes to your local repository

6

etc.

7

Push all changes to Github

Possibly solve conflicts when cooperating

With GitHub Desktop push/pull is replace by sync (initial one is publish)

slide-6
SLIDE 6

Introduction Assignments: Working with GitHub and GitHub desktop In conclusion

Assignments: Working with GitHub and GitHub desktop

slide-7
SLIDE 7

Introduction Assignments: Working with GitHub and GitHub desktop In conclusion

Assingment 1:

1 Open ERSA-WooW in GitHub desktop 2 Commit changes of your Markdown paper to GitHub desktop 3 Sync your Markdown paper to your GitHub account

slide-8
SLIDE 8

Introduction Assignments: Working with GitHub and GitHub desktop In conclusion

Assignment 2:

1 Create new project folder MyPaper 2

Copy the html result of the Markdown assignment in MyPaper

3 Rename Assingment1.html in index.html 4 Initialise a Git repository in Github desktop (with Create) 5 Add and commit your paper 6 Create a new branch called gh-pages 7 And publish all to Github 8 Look at the website

http://_YourGitHubname_.github.io/MyPaper

slide-9
SLIDE 9

Introduction Assignments: Working with GitHub and GitHub desktop In conclusion

In conclusion

slide-10
SLIDE 10

Introduction Assignments: Working with GitHub and GitHub desktop In conclusion

In conclusion

Markdown is easy to learn and incredibly useful

blogs/website to-do lists slides papers

Versioning is very important but often forgotten Open repositories are becoming incredibly useful (if not only to provide background material to your papers) Do not be afraid to open up your research

large benefits for the scientific community at large large benefits for the individual researcher