F眉ge Dateien zum Index/Stage hinzu. Mehr Informationen: https://git-scm.com/docs/git-add.
- F眉ge eine bestimmte Datei zum Index/Stage hinzu:
git add {{pfad/zu/datei}}
- F眉ge alle Dateien zum Index/Stage hinzu (nachverfolgte und nicht nachverfolgte):
git add -A
- F眉ge nur nachverfolgte Dateien zum Index/Stage hinzu (Updaten des Index/Stage):
git add -u
- F眉ge auch Dateien, welche ignoriert werden (
.gitignore
) hinzu:
git add -f
- F眉ge Teile von Dateien zum Index/Stage interaktiv hinzu:
git add -p
- F眉ge Teile einer bestimmten Datei interaktiv hinzu:
git add -p {{pfad/zu/datei}}
- F眉ge Dateien zum Index/Stage interaktiv hinzu:
git add -i