Skip to content

Instantly share code, notes, and snippets.

@paco-ruvalcaba
Last active May 19, 2025 22:41
Show Gist options
  • Save paco-ruvalcaba/8ad726eace9e07f66e30272c63fdb77f to your computer and use it in GitHub Desktop.
Save paco-ruvalcaba/8ad726eace9e07f66e30272c63fdb77f to your computer and use it in GitHub Desktop.
GIT cheat sheet
@startmindmap
*[#lightblue] ""git""
**[#lightblue] ""add""
*** ""archivo.txt""
***[#lightblue] "".""
****_ Agregar todos los archivos
**[#lightblue] ""clone""
*** ""https://github.com/libgit2/libgit2""
****_ Copiar-clonar un repositorio en línea
**[#lightblue] ""commit""
***[#lightblue] ""-m""
**** "Texto"
***[#lightblue] ""-a -m""
**** "Texto"
**[#lightblue] ""fetch""
**[#lightblue] ""init""
**[#lightblue] ""log""
***[#lightblue] ""--oneline""
***[#lightblue] ""--pretty="%h - %s" ""
**[#lightblue] ""mv""
*** ""nombre anterior""
**** ""nuevo nombre""
***_ Mover archivo o cambiar nombre
**[#lightblue] ""pull""
*** ""origin""
**** ""master""
**[#lightblue] ""push""
*** ""origin""
**** ""master""
**[#lightblue] ""remote""
***[#lightblue] ""add origin""
**** ""https://github.com/paco-ruvalcaba/repository""
***[#lightblue] ""-v""
**[#lightblue] ""rm""
***_ Quitar archivo de la área de staging
*** ""nombre_archivo.ext""
**[#lightblue] ""status""
***_ Muestras el estado de los archivos:
****_ Si se están siguiendo
****_ Si se confirmó
**[#orange] ""cd""
***_ Cambiar directorio
**[#orange] ""mkdir""
***_ Crear directorio
@endmindmap
@paco-ruvalcaba
Copy link
Author

gcs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment