Difference between revisions of "Git Tutorials"

From HPC Wiki
Jump to navigation Jump to search
Line 16: Line 16:
 
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:Tutorials]]
 
[[Category:Basics]]
 
[[Category:Basics]]
 
[[Category:Tutorials | Git Tutorial]]
 
[[Category:Tutorials | Git Tutorial]]

Revision as of 14:05, 27 July 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 topic you will learn how to create a repository or 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).

Branching

What are branches? How and why should you use them?

Useful Links