This is the material for the Ag&Food Data School introduction to Git.
Prerequisites
The only prerequisites are an installation of Git and a terminal. You will also need a Bitbucket account, but this can be created during the lesson.
This is the material for the Ag&Food Data School introduction to Git.
Prerequisites
The only prerequisites are an installation of Git and a terminal. You will also need a Bitbucket account, but this can be created during the lesson.
Setup | Download files required for the lesson | |
09:30 | 1. Motivation |
Why version control?
Why Git? |
09:50 | 2. In-browser session | Where are we heading? |
10:10 | 3. Configuring Git |
How do we configure git?
What are our options for text editors? |
10:40 | 4. Our first repo |
What is a repository?
How does Git operate? How do I make commits? How do I select what to commit? |
11:40 | 5. Undoing things | How can I undo things? |
12:05 | 6. Branching and merging |
How can I or my team work on multiple features in parallel?
How to combine the changes of parallel tracks of work? How can I permanently reference a point in history, like a software version? |
12:40 | 7. Conflict resolution |
How can we resolve conflicts?
How can we avoid conflicts? |
13:10 | 8. Sharing repositories online |
How can I set up a public repository online?
How can I clone a public repository to my computer? |
13:55 | 9. Collaborating with git repositories |
How can I contribute to a shared repository?
How can I contribute to a public repository without write access? |
14:40 | 10. Making git citable |
How can we make a particular git commit citable?
How can version control help reproduceable science? |
15:20 | 11. What to not add to Git | What should be included in Git repositories? |
15:25 | Finish |
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.