Como usar GitHub
Borrador
- Cree un usuario y contraseña
- Cree un nuevo repositorio
- En GNU/Linux
mkdir ~/git # Cree un directorio para trabajar, este es un ejemplo cd ~/git git clone https://github.com/EstebanMonge/slim-themes.git # Es un ejemplo, obtenga la URL del sitio de GitHub cd slim-themes # Es otro ejemplo touch README.md git add README.md #Puede agregar directorios completos o mas archivos git commit -m "Primer envío" # El tipico Hola Mundo git push -u origin master # Esto sube los archivos
Borrar un directorio:
git rm -r DIRECTORIO
Create branch and commit
git checkout -b v1.0 git add README.md git push origin v1.0 git commit -m "branch v1.0"
Import PR
git clone https://github.com/EstebanMonge/l10n_cr.git cd l10n_cr git fetch https://github.com/odoocr/l10n_cr.git pull/143/head:pr143 git checkout pr143 # Update PR git pull https://github.com/odoocr/l10n_cr.git pull/143/head # Merge PR git merge pr143