Introduction to Git
George Boorman
Curriculum Manager, DataCamp
Do not edit .git
!
git init mental-health-workspace
cd mental-health-workspace
git status
On branch main
No commits yet
nothing to commit (create/copy files and use "git add" to track)
git init
Initialized empty Git repository in /home/repl/mental-health-workspace/.git/
git status
On branch main
No commits yet
Untracked files:
(use "git add <file>..." to include what will be committed)
data/
report.md
nothing added to commit but untracked files present (use "git add" to track)
There will be two .git
directories
Which .git
directory should be updated?
Introduction to Git