Difference between revisions of "Git Tutorials"

From HPC Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Tutorials]]
 
 
 
{{Syllabus Git Tutorials}}
 
{{Syllabus Git Tutorials}}
  
Line 9: Line 7:
 
__NOTOC__
 
__NOTOC__
 
== Topics ==
 
== Topics ==
=== [[Git_Tutorials/Creating_and_Cloning_Repositories | Creating and Cloning Repositories]] ===
+
=== [[Git | Basic Git overview]] ===
In this topic you will learn how to create a [https://en.wikipedia.org/wiki/Repository_(version_control) repository] and how to clone an existing one.
+
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]] ===
 
=== [[Git_Tutorials/Branching | Branching]] ===
 
What are [https://en.wikipedia.org/wiki/Branching_(version_control) branches]? How and why should you use them?
 
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?

Useful Links