Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save matog/fe23d5957bdf0d5e420085b2097f71e0 to your computer and use it in GitHub Desktop.
Save matog/fe23d5957bdf0d5e420085b2097f71e0 to your computer and use it in GitHub Desktop.
Como subir un proyecto local a github

Como subir un proyecto local a github.

desde la web de github

Creamos un nuevo repositorio en https://github.com. Le damos nombre, descripción, seleccionamos si va a ser un proyecto publico o privado si es el caso, y dejamos el check de crear README sin marcar. Le damos a crear repositorio y con esto ya tenemos el repositorio donde alojaremos nuestro proyecto.

desde la terminal del equipo donde esta el proyecto que queremos subir a github

Nos vamos a la carpeta del proyecto y ejecutamos estos comandos.

git init

git add .

git commit -m "first commit"

git remote add origin https://github.com/NOMBRE_USUARIO/NOMBRE_PROYECTO.git

git push -u origin master

@matog
Copy link
Author

matog commented Feb 27, 2021

Ver los comentarios en el gist original que complementan este gist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment