You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/software/version-control/git.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -204,7 +204,9 @@ Ahora podrás subir tus cambios al repositorio remoto seleccionado.
204
204
205
205
## Cheatsheet
206
206
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`
208
210
- 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)
209
211
- 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)
210
212
- 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