Skip to content

Commit

Permalink
Update git.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jgvictores authored Mar 15, 2024
1 parent 919a515 commit 327680d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/software/version-control/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Ahora podrás subir tus cambios al repositorio remoto seleccionado.

- credential.helper cache:
- Almacenar contraseña en cache durante un tiempo: [`git config credential.helper cache`](https://git-scm.com/docs/git-credential-cache)
- Limieza de cache: `git config --global --unset credential.helper`
- Limpieza de cache: `git config --global --unset credential.helper`
- Deshacer los cambios de un fichero (antes de commit): [`git checkout -- nombre-fichero`](https://git-scm.com/docs/git-checkout#git-checkout-emgitcheckoutemlttree-ishgt--ltpathspecgt82308203)
- Corregir el texto del último commit (antes de push, aunque se podría forzar): [`git commit --amend`](https://git-scm.com/docs/git-commit#git-commit---amend)
- Deshacer el útimo commit entero (antes de push, aunque se podría forzar): [`git reset HEAD~1`](https://git-scm.com/docs/git-reset#git-reset-emgitresetemltmodegtltcommitgt)
Expand Down

0 comments on commit 327680d

Please sign in to comment.