Git: Setup und erste Schritte: Unterschied zwischen den Versionen
Cbutz (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Cbutz (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 2: | Zeile 2: | ||
https://git-scm.com/install/ |
https://git-scm.com/install/ |
||
Change the following options when using the graphical installer: |
|||
- Choosing defaukt Editor: |
|||
Choose Notepad++ (or other editor of choice that is installed) |
|||
- Adjusting the name of the initial branch in new repositories: |
|||
Override the default: main |
|||
- Choose the default behavior of git pull: Rebase |
|||
For the rest take the default options |
|||
== GUI (Optional) == |
== GUI (Optional) == |
||
Version vom 23. Oktober 2025, 13:26 Uhr
Install git
Change the following options when using the graphical installer:
- Choosing defaukt Editor: Choose Notepad++ (or other editor of choice that is installed)
- Adjusting the name of the initial branch in new repositories: Override the default: main
- Choose the default behavior of git pull: Rebase
For the rest take the default options
GUI (Optional)
Optionally, for a GUI, additionally install TortoiseGIT.
TortoiseGIT is a graphical wrapper for the git CLI. TortoiseGIT is found in the Windows Explorer context menu.
Authentication
SSH (Recommended)
HTTPS
Use username (<hm-username>) and password.
Git Cheat Sheet
https://education.github.com/git-cheat-sheet-education.pdf
Tutorials
Interactive Tutorial: https://learngitbranching.js.org/#
ProCK Gitlab Repo
Website
https://gitlab.lrz.de/hm-stehr/prock
Clone via SSH
git clone git@gitlab.lrz.de:hm-stehr/prock.git
Clone via HTTPS
git clone https://gitlab.lrz.de/hm-stehr/prock.git