Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
16 Cards in this Set
- Front
- Back
initialize Git repository
|
git init
|
|
project status
|
git status
|
|
add to staging area for tracking
|
git add FILE
|
|
store staged change
|
git commit -m "MSG"
|
|
all changes committed so far
|
git log
|
|
add remote respository
|
git remote add origin URL
|
|
push commits to origin repo
|
git push -u origin master
note: origin is remote name master is local branch name -u tells Git to remember parameters |
|
check for changes and pull any new changes
|
git pull origin master
|
|
check difference
|
git diff
note: HEAD refer to most recent commit --staged refer to changes just staged |
|
unstaged file
|
git reset FILE
|
|
change file back to how it was before last commit
|
git checkout -- FILE
|
|
create copy of file
|
git branch clean_up
|
|
switch between branches
|
git checkout BRANCH
|
|
remove file and stage removal or file
|
git rm 'FILE'
|
|
merge branch into current branch
|
git merge OTHER_BRANCH
|
|
delete branch
|
git branch -d BRANCH
|