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
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"
Comentarios
Publicar un comentario