Skip to content

Commit 9d5a938

Browse files
authored
Update README.md
1 parent 03e2fff commit 9d5a938

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,27 @@
1616
* git branch -d "nombreRama" (para borrar una rama que ya no utilizamos)
1717
* git push
1818
```
19-
19+
20+
## pull request
21+
```ruby
22+
* git add .
23+
* git commit -m "texto"
24+
* git remote
25+
$ git remote
26+
origin
27+
upstream
28+
* git push origin [Nombre de la Rama]
29+
```
30+
## Sincronización de ramas
31+
```ruby
32+
* git branch (para saber cuantas ramas tenemos)
33+
* git checkout (nombre rama maestra-master o main)
34+
* git remote add upstream [HTTPS github]
35+
* git fetch upstream
36+
* git merge upstream/main
37+
* git push origin main
38+
* git push origin master - borrado del repositorio upstream
39+
```
2040
## consultas de GIT
2141
- <b>git branch</b> (nos dice todas las ramas que hay)
2242

0 commit comments

Comments
 (0)