Skip to content

Instantly share code, notes, and snippets.

@gabanox
Last active August 11, 2021 22:20
Show Gist options
  • Save gabanox/edce93a7988bef7bf38bc0d266240e8c to your computer and use it in GitHub Desktop.
Save gabanox/edce93a7988bef7bf38bc0d266240e8c to your computer and use it in GitHub Desktop.
#inicializar repo
git clone https://...
#ignorar archivos dev
touch .gitignore
echo ".gitignore" >> .gitignore
echo "site/*" >> .gitignore
# para agregar cambios
git add .
#para guardar un cambio local
git commit -m 'mensaje'
#sincronizar cambios en la nube
git push
#bajar los ultimos cambios
git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment