Skip to content

Git & Github

Luisa Rincon edited this page Aug 1, 2022 · 1 revision

Commandos GIT

  • git init: para inicializar el repositorio git y el staged
  • git add nombre_del_archivo.txt: enviar el archivo al staged
  • git status: ver el estado, si se requiere agregar al starget o si se requiere commit
  • git conf: para ver las posibles configuraciones
  • git conf --list: para ver la lista de configuraciones hechas
  • git conf --list --show-origin: para mostrar las configuraciones y sus rutas
  • git rm --cached nombre_del_archivo.txt: para eliminar el archivo del staged(ram)
  • git rm nombre_del_archivo.txt: para eliminar del repositorio
  • git show: muestra los cambios históricos de un archivo

Clone this wiki locally