Setup de Git
Configura Git bien una vez: tu nombre, email y defaults. Evita problemas en equipos desde el dia 1.
Conceptos clave
- git config --global
- SSH keys vs HTTPS
- git status como radar
Ejemplo
git --version
git config --global user.name "Tu Nombre"
git config --global user.email "[email protected]"
git config --global init.defaultBranch main
Ejercicio
- Configura user.name y user.email.
- Crea un repo local y ejecuta git status.
Checklist de mastery
- Mi identidad esta configurada.
- Puedo crear un repo y ver el estado.