Last active
May 19, 2025 22:41
-
-
Save paco-ruvalcaba/8ad726eace9e07f66e30272c63fdb77f to your computer and use it in GitHub Desktop.
GIT cheat sheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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 |
Author
paco-ruvalcaba
commented
May 19, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment