Intro programming cafe | 10 min |
Getting Started with Git and GitHub | 20 min |
Exercises or Work on your own code | 30 min |
Automating things with GitHub Actions | 20 min |
Exercises or Work on your own code | 30 min |
Wrap-up | 10 min |
Drinks! |
Research Data Management Support
Do you need to:
Then Git & GitHub is something for you!
An online repository, based on Git software, for:
Rigid structure of git helps manage project evolution. Main/master copy on GitHub enables sane experimentation and collaboration.
Manage your code (and other files) down the very last details. Experimentation is facilitated!
Version Control & Project History. Like track changes in your Word document, which is also backed up on OneDrive - but BETTER!
The software & platform is built to facilitate for Collaboration.
In short:
Git takes snapshots of all the files in a folder. This folder is called a repository or repo.
Git takes snapshots of all the files in a folder. This folder is called a repository or repo.
Here’s the same repository, but locally on our computer.
The simplest starting point, however, is GitHub in the web browser!
Check out utrechtuniversity.github.io/programming-cafe/
You can try out any of the exercises, we do have some recommendations based on today’s presentation:
For beginners, the Introduction to GitHub exercise is a nice start. You’ll make a short Markdown file you can use as your profile README and learn about repositories, branches, commits, and pull requests while doing so!
For experienced users, the Hello GitHub Actions exercise is a great introduction to the topic.
Research Data Management Support
Automation of:
An action is a custom application for the GitHub Actions platform that performs a complex but frequently repeated task (e.g. installing Python). Use an action to help reduce the amount of repetitive code that you write in your workflow files.
An event is a specific activity in a repository that triggers GitHub Actions to start. For example, activity can originate from GitHub when someone creates a pull request, opens an issue, or pushes a commit to a repository. You can also trigger GitHub Actions on a schedule.
A job is a set of steps in a workflow that execute on the same runner (or server). Each step is either a shell script/command that will be executed, or an Action that will be run. Steps are executed in order and are dependent on each other.
A workflow is one (or a set of) job(s) that are defined in a script (YAML file) and triggered by events
A runner is a server that runs your workflows when they’re triggered. Each runner can run a single job at a time. GitHub provides Ubuntu Linux, Microsoft Windows, and macOS runners to run your workflows; each workflow run executes in a fresh, newly-provisioned virtual machine.
Jelle Treep & Neha Moopen