Skip to content

Commit 34abc05

Browse files
authored
Update README.md
1 parent 19d302d commit 34abc05

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Comandos útiles de GIT
1+
## Comandos útiles de GIT
22

33
1. git init
44
2. git add .
5-
- git add (nombre fichero p.e index.html) - añade los cambios efectuados en este fichero
5+
- git add (nombre fichero p.e index.html) - \*añade los cambios efectuados en este fichero\*
66
- git add . or .git add --all - añade todos los cambios efectuados hasta el momento
77
3. git reset .
88
4. git commit -m "explicación de los cambios"
@@ -15,7 +15,7 @@
1515
11. git push
1616
12. git commit -am (junta git add . + git commit -m. Només en casos en seguiments continuos)
1717

18-
# Cómo cambiar la URL remota en GIT
18+
## Cómo cambiar la URL remota en GIT
1919

2020
. git remote set-url origin https://github.org/repo.git - para poder hacer los push correctamente
2121

@@ -28,10 +28,10 @@
2828
5.
2929
6.
3030

31-
# Formas de borrar
31+
## Formas de borrar
3232
1. git reset *(nombre de la extensión p.e. .xml) - para borar ficheros del stage o cualquier otra cosa
3333

34-
# push
34+
## push
3535
.git push -f origin main - para forzar un push
3636

3737

0 commit comments

Comments
 (0)