Configurar git
Despues de instalar git, necesitamos una configuracion minima para subir nuestro codigo a github
Lanzamos cada linea, no necesitamos permisos de root.
git config --global credential.helper store
git config --global user.name "your name"
git config --global user.email [email protected]
git config --global color.diff "auto"
git config --global color.status "auto"
git config --global color.branch "auto"
git config --global color.interactive "true"
git config --global help.format "html"Ahora vamos a generar las claves ssh
ssh-keygen -t rsa -b 4096 -C "[email protected]"Generating public/private rsa key pair.
Enter file in which to save the key (/home/$USER/.ssh/id_rsa):
Created directory '/home/$USER/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/$USER/.ssh/id_rsa.
Your public key has been saved in /home/$USER/.ssh/id_rsa.pub.Copiamos nuestra clave
Y lo pegamos en nuestro panel de configuracion en Github
https://github.com/settings/ssh/new

Guardamos y probamos la conexion ssh
Last updated
Was this helpful?