Comandos Git

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

USER@Overloaded MINGW64 ~

$ mkdir text-git

USER@Overloaded MINGW64 ~
$ ls
'- Unlock My Device.pdf'
'3D Objects'/
Administradores.html
AndroidStudioProjects/
AppData/
ararar/
ararar.dmd
Autodesk/
BullseyeCoverageError.txt
C2PCFiles/
'cedula ricardo garces.pdf'
'Configuración local'@
Contacts/
Cookies@
'Creative Cloud Files'/
'Datos de programa'@
Desktop/
Documents/
Downloads/
dwhelper/
e
'Entorno de red'@
'Este equipo - Acceso directo.lnk'*
f
Favorites/
garces.sql
garces1.sql
Impresoras@
Intel/
IntelGraphicsProfiles/
Links/
'Menú Inicio'@
MicrosoftEdgeBackups/
'Mis documentos'@
Music/
my-app2/
NTUSER.DAT
ntuser.dat.LOG1
ntuser.dat.LOG2
NTUSER.DAT{4064e1b2-3a59-11ea-9026-9c54b2e883ba}.TxR.0.regtrans-ms
NTUSER.DAT{4064e1b2-3a59-11ea-9026-9c54b2e883ba}.TxR.1.regtrans-ms
NTUSER.DAT{4064e1b2-3a59-11ea-9026-9c54b2e883ba}.TxR.2.regtrans-ms
NTUSER.DAT{4064e1b2-3a59-11ea-9026-9c54b2e883ba}.TxR.blf
NTUSER.DAT{4064e1b3-3a59-11ea-9026-9c54b2e883ba}.TM.blf

NTUSER.DAT{4064e1b3-3a59-11ea-9026-9c54b2e883ba}.TMContainer000000000000000
00001.regtrans-ms

NTUSER.DAT{4064e1b3-3a59-11ea-9026-9c54b2e883ba}.TMContainer000000000000000
00002.regtrans-ms
NTUSER.DAT{ea7e248d-a21e-11ea-b900-6cc21770d290}.TM.blf

NTUSER.DAT{ea7e248d-a21e-11ea-b900-6cc21770d290}.TMContainer0000000000000000
0001.regtrans-ms

NTUSER.DAT{ea7e248d-a21e-11ea-b900-6cc21770d290}.TMContainer0000000000000000
0002.regtrans-ms
ntuser.ini
OneDrive/
Pictures/
Plantillas@
pseint/
PycharmProjects/
Reciente@
ricardo.sql
'Saved Games'/
Searches/
SendTo@
SystemRequirementsLab/
text-git/
Tracing/
usuario.sql
usuario1.sql
usuario2.sql
usuario3.sql
usuario4.sql
usuario5.sql
Usuarios.html
Videos/
vmax_stderr.txt
vmax_stdout.txt

USER@Overloaded MINGW64 ~
$ cd text-git

USER@Overloaded MINGW64 ~/text-git


$ ls

USER@Overloaded MINGW64 ~/text-git


$ touch README.md
USER@Overloaded MINGW64 ~/text-git
$ ls
README.md

USER@Overloaded MINGW64 ~/text-git


$ git init
Initialized empty Git repository in C:/Users/USER/text-git/.git/

USER@Overloaded MINGW64 ~/text-git (master)


$ git config --global user.name "Ricardo Garces"

USER@Overloaded MINGW64 ~/text-git (master)


$ git config --global user.email "ricardog125@hotmail.com"

USER@Overloaded MINGW64 ~/text-git (master)


$ git config --list
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
http.sslbackend=openssl
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
core.autocrlf=true
core.fscache=true
core.symlinks=false
pull.rebase=false
credential.helper=manager
core.editor="C:\Users\USER\AppData\Local\Programs\Microsoft VS Code\Code.exe" --wait
user.name=Ricardo Garces
user.email=ricardog125@hotmail.com
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true

USER@Overloaded MINGW64 ~/text-git (master)


$ git add .

USER@Overloaded MINGW64 ~/text-git (master)


$ git status
On branch master

No commits yet

Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: README.md

USER@Overloaded MINGW64 ~/text-git (master)


$ git commit -m "Initial Commit"
[master (root-commit) 50a5510] Initial Commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 README.md

USER@Overloaded MINGW64 ~/text-git (master)


$ git log
commit 50a55102fb7577cac8e433903e103009fe42c725 (HEAD -> master)
Author: Ricardo Garces <ricardog125@hotmail.com>
Date: Tue Sep 29 21:43:37 2020 -0500

Initial Commit

USER@Overloaded MINGW64 ~/text-git (master)


$ code .

USER@Overloaded MINGW64 ~/text-git (master)


$ git status
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: README.md

no changes added to commit (use "git add" and/or "git commit -a")

USER@Overloaded MINGW64 ~/text-git (master)


$ git add README.md

USER@Overloaded MINGW64 ~/text-git (master)


$ git commit -m "Update README.md"
[master a4756a2] Update README.md
1 file changed, 1 insertion(+)

USER@Overloaded MINGW64 ~/text-git (master)


$ git status
On branch master
nothing to commit, working tree clean

USER@Overloaded MINGW64 ~/text-git (master)


$ git log
commit a4756a2dd2bd89edb810af120ea10f5b9b7c0f8e (HEAD -> master)
Author: Ricardo Garces <ricardog125@hotmail.com>
Date: Tue Sep 29 21:49:50 2020 -0500

Update README.md

commit 50a55102fb7577cac8e433903e103009fe42c725
Author: Ricardo Garces <ricardog125@hotmail.com>
Date: Tue Sep 29 21:43:37 2020 -0500

Initial Commit

USER@Overloaded MINGW64 ~/text-git (master)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy