| Comando | Utilidad |
|---|---|
| git init | inicia un repositorio local |
| git branch -M main | Configura la rama principal como main. (antiguamente era master) |
| git remote add origin https://github.com/ibancoder/Repositorioquequeramos.git | Indica el repositorio donde se subirá el codigo. |
| git add . | añade TODOS los elementos a la "copia temporal" del control de versiones NO lo añade como tal sino los deja en un espacio temporal. |
| git add "nombre_archivo" | añade el archivo seleccionado a la copia temporal. |
| git push -u origin main | sube el commit al repositorio. |
-
Notifications
You must be signed in to change notification settings - Fork 0
ibancoder/git-cheatsheet
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published