Skip to content

Instantly share code, notes, and snippets.

@tunelko
Created September 17, 2018 10:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tunelko/c885e22d65a21da4e6f034fb26cbacef to your computer and use it in GitHub Desktop.
Save tunelko/c885e22d65a21da4e6f034fb26cbacef to your computer and use it in GitHub Desktop.

Guia para git dummies Crear el repositorio. Generar la key ssh:

ssh-keygen -t rsa -C "correo@dominio.com"

Copiar ~/.ssh/id_rsa.pub a la configuración de la cuenta de GitHub. Probar SSH:

ssh -T git@github.com
clonar el repositorio:
git clone git://github.com/username/your-repository

cd dentro del repositorio

git remote set-url origin git@github.com:username/your-repository.git

cambiar algun fichero:

git add -A
git commit -am "initial commit"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment