Skip to content

Commit 4a126fc

Browse files
authored
Merge pull request #3 from nhrojas8/DEV_ProjectoEjemp_02
Dev projecto ejemp 02
2 parents dd6124d + 97ad734 commit 4a126fc

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

Comandos_GIT.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,12 @@ git status
2020
git fetch
2121

2222
git pull origin main
23+
24+
# decarta todos los archivos al ultimo commit
25+
git reset --hard
26+
27+
# para descartar cambios solo de un archivo especifico
28+
git checkout HEAD -- main.c
29+
30+
# ver imagen mas reducida de los commit
31+
git log --oneline

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ Lista de archivos:
77
main.c
88

99
# Docuentacion (DEV 1)
10-
# Documentatacion (DEV 2)
10+
11+
# Documentatacion (DEV 2)
12+

main.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
int main(void){
22
printf("Hola mundo");
3+
4+
//cambio 1
5+
//cambio 2
36
}

0 commit comments

Comments
 (0)