ey@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (main) $ git init Initialized empty Git repository in C:/Users/eyis/Desktop/git/.git/
eyi@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ git status On branch master
No commits yet
Untracked files: (use "git add ..." to include in what will be committed) index.html
nothing added to commit but untracked files present (use "git add" to track)
eys@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ git add .
eyis@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ git status On branch master
No commits yet
Changes to be committed: (use "git rm --cached ..." to unstage) new file: index.html
eyi@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ git commit -m "creando archivo index.html con la lista de cursos" [master (root-commit) 13ca39f] creando archivo index.html con la lista de cursos 1 file changed, 20 insertions(+) create mode 100644 index.html
eys@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ git status On branch master Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: index.html
no changes added to commit (use "git add" and/or "git commit -a")
$ git add .
$ git status On branch master Changes to be committed: (use "git restore --staged ..." to unstage) modified: index.html $ git commit -m "se agrego la palabra git a una de las listas" [master e752b21] se agrego la palabra git a una de las listas 1 file changed, 1 insertion(+), 1 deletion(-)
$ git log commit e752b21174eaa0f72282aae4fb228af68c58a770 (HEAD -> master) Date: Fri Apr 7 22:23:48 2023 -0500
se agrego la palabra git a una de las listas
commit 13ca39ffec9d9481f2c4c79441ff7c367fff2a1e Date: Fri Apr 7 22:21:31 2023 -0500
creando archivo index.html con la lista de cursos
eyis@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ git log -p commit e752b21174eaa0f72282aae4fb228af68c58a770 (HEAD -> master) Date: Fri Apr 7 22:23:48 2023 -0500
se agrego la palabra git a una de las listas
diff --git a/index.html b/index.html index 49bb01d..b70b253 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@
- Vagrant
- Docker
- Ansible
- Integración continua
- Integración continua git
eyis@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ git log --pretty="format:%h" e752b21 13ca39f $ git log --pretty="format:%h %s" e752b21 se agrego la palabra git a una de las listas 13ca39f creando archivo index.html con la lista de cursos
$ git log --pretty="format:%h %s %ae" e752b21 se agrego la palabra git a una de las listas 13ca39f creando archivo index.html con la lista de cursos @gmail.com eyis@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ git log --pretty="format:%h %s %ae" e752b21 se agrego la palabra git a una de las listas e@gmail.com 13ca39f creando archivo index.html con la lista de cursos el@gmail.com eyis@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ git status On branch master Untracked files: (use "git add ..." to include in what will be committed) .gitignore
nothing added to commit but untracked files present (use "git add" to track)
eyis@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ git add .
eyis@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ git commit -m "se agrego gitignore" [master b53f0f5] se agrego gitignore 1 file changed, 1 insertion(+) create mode 100644 .gitignore
eyis@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ git status On branch master nothing to commit, working tree clean
eyis@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ git log --online fatal: unrecognized argument: --online
eyis@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ git log commit b53f0f50f8daa5ffbb3c5ebab00e3373653d85fe (HEAD -> master) Author: Ellisvelandia <@gmail.com> Date: Fri Apr 7 22:33:22 2023 -0500
se agrego gitignore
commit e752b21174eaa0f72282aae4fb228af68c58a770 Author: Ellisvelandia e@gmail.com Date: Fri Apr 7 22:23:48 2023 -0500
se agrego la palabra git a una de las listas
commit 13ca39ffec9d9481f2c4c79441ff7c367fff2a1e Author: Ellisvelandia e@gmail.com Date: Fri Apr 7 22:21:31 2023 -0500
creando archivo index.html con la lista de cursos
eyis@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ :q bash: :q: command not found
eyis@DESKTOP-6N2S1PQ MINGW64 ~/Desktop/git (master) $ git log --pretty="format:%h %s %ae" b53f0f5 se agrego gitignore ey@gmail.com e752b21 se agrego la palabra git a una de las listas e@gmail.com 13ca39f creando archivo index.html con la lista de cursos e@gmail.com