Getting started with GitHub
Introduction
For programming you need an environment that allows you to store your work, collaborate with colleagues, be able to define pipelines (way of ensuring the quality of your product/service) as well as going easily back to working versions. In this course we will leverage GitHub infrastructure for our practical work.
What you’ll build
In this codelab, you will deliver the information necessary to be able to work on GitHub:
Optionally, you will be learning (the basics of) git and solving an issue.
What you’ll learn
- How to create - if need be - a GitHub account
Optional (because already acquired)
- How to work with git
What you’ll need
- A Windows / MacOS / Linux environment for installing git and editing a git project.
- An internet connection.
- Some prior basic knowledge of command line usage.
- Curiosity and motivation to get things working.
Installation of required software components
- First of all, under sharepoint state what your github username is.
- Subsequently, head to git-scm
to get the git installation.
- Obviously, unless you have one already, go to GitHub Sign-Up and create a github account for yourself before filling in the information about your github username.
Tip
Did you know that as student you are entitled to a large set of advantages? Check out https://education.github.com/pack#offers and see what it available! The advantages span courses to professional tools.
Getting your hands dirty
You are now ready for the optional assignment. Go ahead and:
- Go to the The Basics of
GitHub to
learn about the basics of
git. -
You will be asked regularly to create a project, share its content with people, fix issues and so fort. So, try to :
- create a repository in your own personal space (e.g. “My git playground”)
- add content to it (e.g. the above mentioned The Basics of
GitHub
README.mdfile) - create an issue indicating a change you would like to make (e.g. changing the emoji next to “Course overview and learning outcomes”)
- create an issue1 branch
- in the newly created issue1 branch, address what the issue demands (e.g. changing the emoji) - do not forget to switch to the branch issue1 when doing so
- commit your changes to issue1
- merge issue1 into main
- tag the newly created work with 1.0
- push your creation
Important
Notify the profs should there be any issue with the above. It is very
important to be able to leverage git efficiently for the course.