programmieren:git
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| programmieren:git [2020/10/19 13:41] – [nützliche Kommandos] felix | programmieren:git [2023/09/01 16:33] (current) – [nützliche Kommandos] felix | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Git ====== | ====== Git ====== | ||
| - | ===== Tutorials ===== | ||
| - | * Derek Banas' [[https:// | ||
| - | * [[http:// | ||
| - | * [[https:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | ==== Branches ==== | + | ===== Branches |
| * GitHub: [[https:// | * GitHub: [[https:// | ||
| * Atlassian: [[https:// | * Atlassian: [[https:// | ||
| Line 21: | Line 13: | ||
| * alle Branches auf dem Server (aka " | * alle Branches auf dem Server (aka " | ||
| * Liste aller Branches (lokal + serverseitig): | * Liste aller Branches (lokal + serverseitig): | ||
| - | * Branch auf Server | + | * lokale Branches |
| + | </ | ||
| + | ==== Zusammenführen ==== | ||
| * einzelne Commits nacheinander anwenden <code bash>git cherry-pick abc321 efg654 xyz890</ | * einzelne Commits nacheinander anwenden <code bash>git cherry-pick abc321 efg654 xyz890</ | ||
| * <code bash>git pull --rebase origin master</ | * <code bash>git pull --rebase origin master</ | ||
| + | * Branch auf Server löschen (nach dem Merge und nachdem man den Feature-Branch lokal gelöscht hat): <code bash>git push origin : | ||
| + | ==== Darstellung ==== | ||
| * Ausgabe der kompletten Historie als Graph: <code bash>git log --color --graph --oneline --all --decorate</ | * Ausgabe der kompletten Historie als Graph: <code bash>git log --color --graph --oneline --all --decorate</ | ||
| * kompaktere Ausgabe: <code bash>git log --oneline</ | * kompaktere Ausgabe: <code bash>git log --oneline</ | ||
programmieren/git.1603107661.txt.gz · Last modified: by felix
