0% found this document useful (0 votes)
85 views5 pages

Git Setup for Beginners

The user creates a new directory called "text-git", initializes an empty Git repository inside it, commits an initial "README.md" file, then edits and commits an update to the README. This establishes a new local Git repository to track changes to files inside the "text-git" directory.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views5 pages

Git Setup for Beginners

The user creates a new directory called "text-git", initializes an empty Git repository inside it, commits an initial "README.md" file, then edits and commits an update to the README. This establishes a new local Git repository to track changes to files inside the "text-git" directory.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

USER@Overloaded MINGW64 ~

$ mkdir text-git

USER@Overloaded MINGW64 ~
$ ls
'- Unlock My [Link]'
'3D Objects'/
[Link]
AndroidStudioProjects/
AppData/
ararar/
[Link]
Autodesk/
[Link]
C2PCFiles/
'cedula ricardo [Link]'
'Configuración local'@
Contacts/
Cookies@
'Creative Cloud Files'/
'Datos de programa'@
Desktop/
Documents/
Downloads/
dwhelper/
e
'Entorno de red'@
'Este equipo - Acceso [Link]'*
f
Favorites/
[Link]
[Link]
Impresoras@
Intel/
IntelGraphicsProfiles/
Links/
'Menú Inicio'@
MicrosoftEdgeBackups/
'Mis documentos'@
Music/
my-app2/
[Link]
[Link].LOG1
[Link].LOG2
[Link]{4064e1b2-3a59-11ea-9026-9c54b2e883ba}.[Link]-ms
[Link]{4064e1b2-3a59-11ea-9026-9c54b2e883ba}.[Link]-ms
[Link]{4064e1b2-3a59-11ea-9026-9c54b2e883ba}.[Link]-ms
[Link]{4064e1b2-3a59-11ea-9026-9c54b2e883ba}.[Link]
[Link]{4064e1b3-3a59-11ea-9026-9c54b2e883ba}.[Link]

[Link]{4064e1b3-3a59-11ea-9026-9c54b2e883ba}.TMContainer000000000000000
[Link]-ms

[Link]{4064e1b3-3a59-11ea-9026-9c54b2e883ba}.TMContainer000000000000000
[Link]-ms
[Link]{ea7e248d-a21e-11ea-b900-6cc21770d290}.[Link]

[Link]{ea7e248d-a21e-11ea-b900-6cc21770d290}.TMContainer0000000000000000
[Link]-ms

[Link]{ea7e248d-a21e-11ea-b900-6cc21770d290}.TMContainer0000000000000000
[Link]-ms
[Link]
OneDrive/
Pictures/
Plantillas@
pseint/
PycharmProjects/
Reciente@
[Link]
'Saved Games'/
Searches/
SendTo@
SystemRequirementsLab/
text-git/
Tracing/
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
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 [Link]
USER@Overloaded MINGW64 ~/text-git
$ ls
[Link]

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 [Link] "Ricardo Garces"

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


$ git config --global [Link] "ricardog125@[Link]"

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


$ git config --list
[Link]=astextplain
[Link]=git-lfs clean -- %f
[Link]=git-lfs smudge -- %f
[Link]=git-lfs filter-process
[Link]=true
[Link]=openssl
[Link]=C:/Program Files/Git/mingw64/ssl/certs/[Link]
[Link]=true
[Link]=true
[Link]=false
[Link]=false
[Link]=manager
[Link]="C:\Users\USER\AppData\Local\Programs\Microsoft VS Code\[Link]" --wait
[Link]=Ricardo Garces
[Link]=ricardog125@[Link]
[Link]=0
[Link]=false
[Link]=false
[Link]=true
[Link]=false
[Link]=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: [Link]

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 [Link]

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


$ git log
commit 50a55102fb7577cac8e433903e103009fe42c725 (HEAD -> master)
Author: Ricardo Garces <ricardog125@[Link]>
Date: Tue Sep 29 [Link] 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: [Link]

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

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


$ git add [Link]

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


$ git commit -m "Update [Link]"
[master a4756a2] Update [Link]
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@[Link]>
Date: Tue Sep 29 [Link] 2020 -0500

Update [Link]

commit 50a55102fb7577cac8e433903e103009fe42c725
Author: Ricardo Garces <ricardog125@[Link]>
Date: Tue Sep 29 [Link] 2020 -0500

Initial Commit

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

You might also like