Skip to content

Commit 919a515

Browse files
authored
Update git.md
1 parent c43f461 commit 919a515

File tree

1 file changed

+3
-1
lines changed
  • docs/software/version-control

1 file changed

+3
-1
lines changed

docs/software/version-control/git.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ Ahora podrás subir tus cambios al repositorio remoto seleccionado.
204204

205205
## Cheatsheet
206206

207-
- Almacenar contraseña durante un tiempo: [`git config credential.helper cache`](https://git-scm.com/docs/git-credential-cache)
207+
- credential.helper cache:
208+
- Almacenar contraseña en cache durante un tiempo: [`git config credential.helper cache`](https://git-scm.com/docs/git-credential-cache)
209+
- Limieza de cache: `git config --global --unset credential.helper`
208210
- 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)
209211
- 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)
210212
- 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)

0 commit comments

Comments
 (0)