Difference between revisions of "Git Tutorials"
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
{{Syllabus Git Tutorials}} | {{Syllabus Git Tutorials}} | ||
− | This tutorial is meant to help you with [https://en.wikipedia.org/wiki/Version_control revision control] of your own or your team's code. Though multiple revision control tools do exist we will focus here on [https://git-scm.com/ Git], which is free and open-source. In particular, these tutorials will often show the usage of Git with [https://github.com/ GitHub], which is one of the most common implementations of Git. Nevertheless, the tutorials will always make a clear distinction between Git in general and one of its | + | This tutorial is meant to help you with [https://en.wikipedia.org/wiki/Version_control revision control] of your own or your team's code. Though multiple revision control tools do exist we will focus here on [https://git-scm.com/ Git], which is free and open-source. In particular, these tutorials will often show the usage of Git with [https://github.com/ GitHub], which is one of the most common implementations of Git. Nevertheless, the tutorials will always make a clear distinction between Git in general and one of its implementations. |
Many tutorials do already exist and GitHub has an interactive section, where you can practice and learn new skills directly within the GitHub interface. When appropriate, we will link to those interactive tutorials in the different sections. | Many tutorials do already exist and GitHub has an interactive section, where you can practice and learn new skills directly within the GitHub interface. When appropriate, we will link to those interactive tutorials in the different sections. | ||
Line 9: | Line 7: | ||
__NOTOC__ | __NOTOC__ | ||
== Topics == | == Topics == | ||
− | === [[Git_Tutorials/ | + | === [[Git | Basic Git overview]] === |
− | In this | + | If you just need a short overview of Git (without GitHub) the Git hpc-wiki page might be enough. |
+ | |||
+ | === [[Git_Tutorials/Creating_and_Changing_Repositories | Creating and Changing Repositories]] === | ||
+ | In this tutorial you will learn how to create a completelly new [https://en.wikipedia.org/wiki/Repository_(version_control) repository] and how to clone an existing one. Further this tutorial will explain how, once a repository exists, you can make changes to it (e.g., adding new files to it or modifying existing ones). This applies to local and remote repositories. | ||
+ | |||
+ | === [[Git_Tutorials/Branching | Branching]] === | ||
+ | What are [https://en.wikipedia.org/wiki/Branching_(version_control) branches]? How and why should you use them? | ||
+ | |||
+ | == Useful Links == | ||
+ | *[https://ndpsoftware.com/git-cheatsheet.html Interactive Git Cheatsheet] | ||
+ | |||
+ | [[Category:Tutorials]] | ||
+ | [[Category:Basics]] | ||
+ | [[Category:Tutorials | Git Tutorial]] |
Latest revision as of 12:46, 3 August 2022
Tutorial | |
---|---|
Title: | Git Tutorials |
Provider: | HPC.NRW
|
Contact: | tutorials@hpc.nrw |
Type: | Online |
Topic Area: | Revision control |
License: | CC-BY-SA |
Syllabus
| |
1. Basic Git overview | |
2. Creating and Changing Repositories | |
3. Branching |
This tutorial is meant to help you with revision control of your own or your team's code. Though multiple revision control tools do exist we will focus here on Git, which is free and open-source. In particular, these tutorials will often show the usage of Git with GitHub, which is one of the most common implementations of Git. Nevertheless, the tutorials will always make a clear distinction between Git in general and one of its implementations.
Many tutorials do already exist and GitHub has an interactive section, where you can practice and learn new skills directly within the GitHub interface. When appropriate, we will link to those interactive tutorials in the different sections.
Topics
Basic Git overview
If you just need a short overview of Git (without GitHub) the Git hpc-wiki page might be enough.
Creating and Changing Repositories
In this tutorial you will learn how to create a completelly new repository and how to clone an existing one. Further this tutorial will explain how, once a repository exists, you can make changes to it (e.g., adding new files to it or modifying existing ones). This applies to local and remote repositories.
Branching
What are branches? How and why should you use them?