Primer commit
This commit is contained in:
commit
fee561679e
1 changed files with 22 additions and 0 deletions
22
Git-comands.sh
Normal file
22
Git-comands.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
## Configuracion de git
|
||||||
|
### Configuraciones de usuario
|
||||||
|
git config --global user.mane "Tu nombre"
|
||||||
|
git config --global user.email tucorreo@mail.com
|
||||||
|
|
||||||
|
### Configurar editor
|
||||||
|
git config --global core.editor "code --wait"
|
||||||
|
git config --global -e
|
||||||
|
git config -h
|
||||||
|
|
||||||
|
### Configuracion de gestion de saltos de linea dependiendo del SO
|
||||||
|
|
||||||
|
git config --global core.autocrlf imput ##True si estas en windows
|
||||||
|
|
||||||
|
git config --global init.defaultBranch main ## Edita el nombre de la rama principal a main o algo customizado
|
||||||
|
|
||||||
|
|
||||||
|
### Uso de git
|
||||||
|
|
||||||
|
git init # Inicializa git, es el primer paso
|
||||||
|
|
||||||
|
git status # Estado las carpetas
|
||||||
Loading…
Reference in a new issue