Trace: github

Como usar GitHub

Borrador FIXME

  • 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
github.txt · Last modified: 2019/11/01 10:37
Public Domain Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain