Summary and Schedule
Welcome to learn how to use Git to store and share your code. Git will be used during the hands-on lessons during the Midsummer QCD school on Monte Carlo generators, maching learning and CMS open data.
Versioned source code is also a key ingredient in research software skills and Git is the tool for it.
Setup Instructions | Download files required for the lesson | |
Duration: 00h 00m | 1. Introduction |
What is Git? What is the point of these exercises? |
Duration: 00h 05m | 2. Learning Git | Where do I find tutorials on Git? |
Duration: 00h 10m | 3. Basic setup |
Do you have Git installed? How to configure Git? How to connect to GitHub? |
Duration: 00h 35m | 4. Exercises |
How to create a repository? What is local, what is remote? How to push your updates? How to use branches? And many more… |
Duration: 01h 05m | 5. Store and share your code |
How to upload your code to GitHub? What information to add to make the code reusable? How to contribute to someone’s code? How other people can contribute to your code? |
Duration: 01h 45m | Finish |
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.
Working environment
Note
We expect participants to work in a Unix environment on their laptop.
If you are unfamiliar with the Unix shell, you can work through the exercises in The Unix Shell tutorial by Software Carpentry.
Windows users: the Unix tutorial gives git bash
as an
option. However, for all work during the hands-on session:
- do not use
git bash
- do not use
Power shell
(apart from installing WSL2) - activate WSL2 and use the Ubuntu terminal that comes with it!
Activate WSL2 and use the Ubuntu terminal.
Use Terminal.app
Use Terminal