Comandos básicos GitHub.

crear un repositorio en github
https://github.com/jffarias/galeria2.git



git remote vincula nuestro proyecto local, con nuestro proyecto remoto

$git remote add origin

or create a new repository on the command line

echo "# galeria2" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/jffarias/galeria2.git
git push -u origin master


or push an existing repository from the command line

git remote add origin https://github.com/jffarias/galeria2.git
git push -u origin master


echo "My Page" > index.html 
git add index.html 
git commit -a -m "First pages commit" 
git push origin gh-pages


Enlace de curso gratis
https://www.codeschool.com/courses/try-git

Comentarios

Entradas populares de este blog

Introducción a la lógica matemática - Cap. 2 Reglas de Inferencia.

Introducción a la lógica matemática - Cap. 4 Tablas de certeza

Hubo un problema pero puedes intentarlo de nuevo Windows error OOBEEULA