Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Both sides previous revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
projects:git [2020/01/10 15:28] wanda |
projects:git [2020/01/15 18:30] (aktuell) wanda |
||
---|---|---|---|
Zeile 9: | Zeile 9: | ||
---- | ---- | ||
- | Was will Fisch (für den ersten Schritt) wissen? | + | ===== erste Schritte ===== |
+ | |||
+ | Documentation | ||
+ | |||
+ | * https://git-scm.com/docs | ||
+ | |||
+ | Install | ||
+ | |||
+ | * config ($HOME/.config/git/config will be used. Any single-valued variable set in this file will be overwritten by whatever is in ~/.gitconfig) | ||
+ | |||
+ | |||
+ | Was will Fisch (beim ersten Schritt) wissen? | ||
* init | * init | ||
Zeile 16: | Zeile 27: | ||
* add | * add | ||
* commit | * commit | ||
+ | * log | ||
+ | * show | ||
+ | * stash | ||
- | * branch (-a) | + | Was will Fisch (beim zweiten Schritt) wissen? |
+ | |||
+ | * branch -a | ||
+ | * branch -b <name> | ||
+ | * checkout | ||
* pull | * pull | ||
* push origin master | * push origin master | ||
- | * stash | + | * (evtl. revert) |
- | * revert | + |