Git Video - Local Flashcards
1
Q
subl .
A
brings up sublime text with all files in directory
2
Q
git init
A
starts a new code base in a folder, pick folder you want, command git init, inside simon-stamp, have its own folder with .git
3
Q
git status
A
state of my code, which branch, untracked or unstaged files, or tracked/staged files
4
Q
git add
A
gets files ready to commit
5
Q
git add .
A
gets files ready to commit (with . gets all files in directory ready)
6
Q
git commit -m “message here”
A
git commit with message (write in present tense)
7
Q
git log
A
shows all commits and shaw keys and messages
8
Q
git reset (shaw key) –hard
A
get back to the old commit place you want