1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:02:09 +02:00
tldr/pages.de/common/git-add.md
bl-ue 9614569655
multiple pages, MAINTAINERS: remove trailing whitespace at line ends (#5151)
* multiple pages: remove trailing whitespace at the end of lines

* MAINTAINERS: remove trailing whitespace at the end of lines
2021-01-16 10:33:31 -05:00

32 lines
707 B
Markdown

# git add
> Fügt Dateien zum Index/Stage hinzu.
> Mehr Informationen: <https://git-scm.com/docs/git-add>.
- Fügt eine Datei zum Index/Stage hinzu:
`git add {{pfad/zur/datei}}`
- Fügt alle Dateien zum Index/Stage hinzu (nachverfolgte und nicht nachverfolgte):
`git add -A`
- Fügt nur nachverfolgte Dateien zum Index/Stage hinzu (Updaten des Index/Stage):
`git add -u`
- Fügt auch Dateien, welche ignoriert werden (.gitignore) hinzu:
`git add -f`
- Interaktives Hinzufügen von Dateien zum Index/Stage:
`git add -p`
- Interaktives Hinzufügen von Teilen der Datei, welche angegeben wird:
`git add -p {{pfad/zur/datei}}`
- Interaktives Hinzufügen von Dateien zum Index/Stage:
`git add -i`