Local Changes Flashcards
1
Q
git status
A
changed files in your working directory
2
Q
git diff
A
changes to tracked files
3
Q
git add .
A
add all current changes to the next commit
4
Q
git add -p
A
Add some changes in to the next commit
5
Q
git commit -a
A
commit all local changes in tracked files
6
Q
git commit
A
commit previously staged changes
7
Q
git commit –amend
A
change the last commit (don’t amend published commits!)