Skip to content

Instantly share code, notes, and snippets.

@SrShark
Last active December 24, 2017 01:54
Show Gist options
  • Save SrShark/acb73a167680574cd2e3fb50a236d273 to your computer and use it in GitHub Desktop.
Save SrShark/acb73a167680574cd2e3fb50a236d273 to your computer and use it in GitHub Desktop.
Como subir a GitHub

Como subir a Github

Estos son los comandos a utilizar.

Comandos

Iniciar Repositorio

git init

Si es un proyecto nuevo debemos realizar la conexión con el repositorio de Github

git remote add origin 'url de repositorio'

Agregando archivos para hacer el comit.

git add -A

git add 'archivo'

Creando el commit

git commit -m 'mensaje del commit'

Y finalmente subiendo al repositorio de Github

git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment