You've already forked comandos-git
Compare commits
7 Commits
2dfe070085
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| cc85e47880 | |||
| 1ddf30f5be | |||
|
|
3c46dd5ac5 | ||
|
|
2cadb67c4a | ||
| aabfdbda39 | |||
| 9536b38496 | |||
| 8b0cad7146 |
61
README.md
61
README.md
@@ -1,3 +1,27 @@
|
|||||||
|
# Recopilación de comandos GIT
|
||||||
|
|
||||||
|
**Índice**
|
||||||
|
|
||||||
|
- [Recopilación de comandos GIT](#recopilación-de-comandos-git)
|
||||||
|
- [Configuración Básica](#configuración-básica)
|
||||||
|
- [Listar Git Config](#listar-git-config)
|
||||||
|
- [Iniciando repositorio](#iniciando-repositorio)
|
||||||
|
- [GIT CLONE](#git-clone)
|
||||||
|
- [GIT ADD](#git-add)
|
||||||
|
- [GIT COMMIT](#git-commit)
|
||||||
|
- [GIT PUSH](#git-push)
|
||||||
|
- [GIT LOG](#git-log)
|
||||||
|
- [GIT DIFF](#git-diff)
|
||||||
|
- [GIT HEAD](#git-head)
|
||||||
|
- [GIT REMOTE](#git-remote)
|
||||||
|
- [GIT BRANCH](#git-branch)
|
||||||
|
- [GIT TAG](#git-tag)
|
||||||
|
- [GIT REBASE](#git-rebase)
|
||||||
|
- [OTROS COMANDOS](#otros-comandos)
|
||||||
|
- [Fork](#fork)
|
||||||
|
- [Info de Git con más detalles](#info-de-git-con-más-detalles)
|
||||||
|
- [Invítame a un café](#invítame-a-un-café)
|
||||||
|
|
||||||
## Configuración Básica
|
## Configuración Básica
|
||||||
|
|
||||||
Configurar Nombre que salen en los commits
|
Configurar Nombre que salen en los commits
|
||||||
@@ -13,6 +37,24 @@ Marco de colores para los comando
|
|||||||
git config --global color.ui true
|
git config --global color.ui true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
*Ejemplo de configuración del archivo [.gitconfig](.gitconfig)*
|
||||||
|
|
||||||
|
## Listar Git Config
|
||||||
|
|
||||||
|
Listar toda la configuración Git
|
||||||
|
|
||||||
|
git config --list
|
||||||
|
|
||||||
|
Muestra la ubicación de los archivos de configuración Git donde se definen estos ajustes
|
||||||
|
|
||||||
|
git config --list --show-origin
|
||||||
|
|
||||||
|
Separar las listas de configuración global, local y system
|
||||||
|
|
||||||
|
git config --list --local
|
||||||
|
git config --list --global
|
||||||
|
git config --list --system
|
||||||
|
|
||||||
## Iniciando repositorio
|
## Iniciando repositorio
|
||||||
|
|
||||||
Iniciamos GIT en la carpeta donde esta el proyecto
|
Iniciamos GIT en la carpeta donde esta el proyecto
|
||||||
@@ -274,3 +316,22 @@ Merge con master de un fork
|
|||||||
git fetch upstream
|
git fetch upstream
|
||||||
git merge upstream/master
|
git merge upstream/master
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Info de Git con más detalles
|
||||||
|
Con explicaciones, gráficos, emoticonos... no tan seco como este README:
|
||||||
|
- [Apuntes del Curso de Git](https://vergaracarmona.es/wp-content/uploads/2022/10/Curso-git_vergaracarmona.es_.pdf) de [Juan Carlos Rubio](https://www.linkedin.com/in/juan-carlos-rubio-pineda-es) en [OpenWebinars](https://openwebinars.net/cursos/git/) por el que me dieron esta [certificación](https://vergaracarmona.es/wp-content/uploads/2022/05/OpenWebinars-Git.pdf).
|
||||||
|
- En mis [apuntes](https://vergaracarmona.es/apuntes/).
|
||||||
|
- ["Instalar git en ubuntu"](https://vergaracarmona.es/instalar-git-en-ubuntu/)
|
||||||
|
- ["Comandos de git"](https://vergaracarmona.es/comandos-de-git/)
|
||||||
|
- ["Estrategias de fusión en git: Ship / Show / Ask"](https://vergaracarmona.es/estrategias-bifurcacion-git-ship-show-ask/)
|
||||||
|
- ["Resolver conflictos en Git. Merge, Squash, Rebase o Pull"](https://vergaracarmona.es/merge-squash-rebase-pull/)
|
||||||
|
- ["Borrar commits de git: reset, rebase y cherry-pick"](https://vergaracarmona.es/reset-rebase-cherry-pick/)
|
||||||
|
|
||||||
|
## Invítame a un café
|
||||||
|
<p>
|
||||||
|
<a href="https://www.buymeacoffee.com/manuelver"> <img align="left" src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" height="50" width="210" alt="https://www.buymeacoffee.com/manuelver" /></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<br><br><br>
|
||||||
|
|
||||||
|
[Manuel Vergara](https://vergaracarmona.es)
|
||||||
Reference in New Issue
Block a user