Git: Difference between revisions

From Chaosdorf Wiki
Line 11: Line 11:
** git cheat sheet https://training.github.com/downloads/de/github-git-cheat-sheet/
** git cheat sheet https://training.github.com/downloads/de/github-git-cheat-sheet/
* Git explained with cats: https://girliemac.com/blog/2017/12/26/git-purr/
* Git explained with cats: https://girliemac.com/blog/2017/12/26/git-purr/
* Interaktiver Kurs für Einsteiger: https://learngitbranching.js.org/?locale=de_DE
* Interaktiver Kurs für Einsteiger: https://learngitbranching.js.org/?locale=de_DE / Learn Git Branching https://pcottle.github.io/learnGitBranching/
* First Aid Git: Ich möchte $sacheX machen, wie geht das? http://firstaidgit.io/
* First Aid Git: Ich möchte $sacheX machen, wie geht das? http://firstaidgit.io/
* Interaktiver Kurs: https://try.github.io/levels/1/challenges/1
* Interaktiver Kurs: https://try.github.io/levels/1/challenges/1
Line 17: Line 17:
* Ein Einstieg: https://www.atlassian.com/git/tutorials
* Ein Einstieg: https://www.atlassian.com/git/tutorials
* Rewriting history https://www.atlassian.com/git/tutorials/rewriting-history
* Rewriting history https://www.atlassian.com/git/tutorials/rewriting-history
* Learn Git Branching https://pcottle.github.io/learnGitBranching/
* Oh shit, git! http://ohshitgit.com/
* Oh shit, git! http://ohshitgit.com/
* An Introduction to Using Git https://www.linux.com/learn/intro-to-linux/2018/7/introduction-using-git
* An Introduction to Using Git https://www.linux.com/learn/intro-to-linux/2018/7/introduction-using-git

Revision as of 15:22, 8 September 2021

Sowohl private als auch chaosdorfnahe Projekte können in unserem GitLab abgelegt werden. Repositories sind dort entweder privat (nur für ausgewählte Personen sichtbar), intern (nur für Chaosdorf) oder öffentlich. Beachte, dass Externe zwar lesend zugreifen, sich aber nicht im GitLab registrieren und damit auch keine Issues oder Pull Requests erstellen können.

Für einige Projekte gibt es inzwischen auch öffentliche Repositories auf GitHub. Um dort Commit-Rechte zu kriegen, registriert ihr euch auf GitHub, und wir fügen euch dann der chaosdorf-Organization hinzu. Schreibt einfach eine E-Mail an github@chaosdorf.de.


HowTos

username/email

How to show or change your Git username or email address

mergetool

Das einem am sympatischsten erscheinende merging tool in git einrichten:

git config --global merge.tool meld

und den aktuellen konflikt mit

git mergetool

beheben.

name+url license used by
meld GPLv2 bison

Andere diff-tools:

vimdiff, meld, opendiff, kdiff3, tkdiff, xxdiff, tortoisemerge, gvimdiff, diffuse, ecmerge, p4merge, araxis, vimdiff, emerge, bc3 (Beyond Compare 3)

README.md

Um auf GitHub die README.md Dateien ordenlich formatieren zu können, gibt es diverse nützliche Tutorials:

git clients

name type Platform Url license
GitKraken GUI Win, Lin, Mac https://www.gitkraken.com/ proprietary, free, pro, enterprise

Extended