Git Workshop
Morning session (10:00 - 12:00)
Introduction to git, Github, git clients and Github repositories
Afternoon session (13:30- 16:00).
Requirements
- Computer with an internet connection
- Git software installed on computer
For Mac
- Install command-line git. On Mavericks (10.9) or above from Terminal try to run git.
$ git --version
If you don’t have it installed already, it will prompt you to install it.
- Install Git Desktop (Optional) NB This is also another way to install the command-line git client.
Download from the Desktop web-site(https://desktop.github.com)
For Windows
- Install command-line git from this web-site: https://git-scm.com/download/win
- Install Git Desktop (Optional) NB This is also another way to install the command-line git client.
Download from the Desktop web-site(https://desktop.github.com)
For Linux
On Fedora (or similar RPM-based distribution e.g. RHEL or CentOS)
$ sudo dnf install git-all
On a Debian-based distribution (e.g. Ubuntu
$ sudo apt install git-all
Markdown, Github Web-pages & Github Wikis
Practical - live-coding session using Markdown.
- Using Markdown to create a Github Page (practical - live-code a Page).
- Using Markdown to create a Github Wiki (Practical - live-code a Wiki).
Creating good READMEs
- What makes a good README? (Discussion).
- (practical/discussion) Take an example and go through it.
Issue tracking and continuous integration.
Licencing.
- Why do we licence?
- Who are we licencing to?
- Treefinder: Example of licence restriction based on politics.
- Couple of exercises:
• Whiteboard brainstorming exercise – what software licences have you heard of or come across?
• Allocate a licence to groups and get them to find a copy of it. Quick (3 min presentation of why
it would/would not meet the needs of their software project)- (Ditch this one if time is short).
Slides used from SoftwareSaved.
• Practical - take a Flashcard. Look at the scenario printed on it - in your group discuss and decide upon
which if any licence is best. (Quick report back if time}.
You can print the cards using this file.
Course wrap-up