coffee-notes — Ch.1 · Start your own repository
Exercise 10 of 11
Before you start
Starting from nothing
A folder is not a repository until you make it one. No server is needed: git keeps the whole history inside the folder.
New files are untracked: git sees them but does not save them until you add and commit them. When nothing is left to save, git says "working tree clean".
- git init
- turn the current folder into a repository
- git status
- see which files are untracked, staged or clean
- git add .
- stage every file in the folder
- git commit -m "What you did"
- save the staged files as the first commit
You can reopen this any time with “Lesson”.
# Coffee notes- Grind finer for espresso
Graph
No repository here yet.