mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 17:02:09 +02:00

* git-add: sync Spanish translation * git-branch: sync Spanish translation * git-clone: sync Spanish translation * git-commit: sync Spanish translation * git-init: sync Spanish translation
32 lines
560 B
Markdown
32 lines
560 B
Markdown
# git add
|
|
|
|
> Añade los archivos cambiados al índice.
|
|
> Más información: <https://git-scm.com/docs/git-add>.
|
|
|
|
- Añade un archivo al índice:
|
|
|
|
`git add {{ruta/al/archivo}}`
|
|
|
|
- Añade todos los archivos (rastreados o no rastreados):
|
|
|
|
`git add -A`
|
|
|
|
- Añade los archivos ya rastreados:
|
|
|
|
`git add -u`
|
|
|
|
- Añade también los archivos ignorados:
|
|
|
|
`git add -f`
|
|
|
|
- Añade partes de archivos interactivamente:
|
|
|
|
`git add -p`
|
|
|
|
- Añade partes de un archivo dado interactivamente:
|
|
|
|
`git add -p {{ruta/al/archivo}}`
|
|
|
|
- Añade un archivo interactivamente:
|
|
|
|
`git add -i`
|