Press [Space] To Progress
git init
git status
git add changed_file.rb
git commit -m "change some files"
git push github master
git pull origin master
git status
git add changed_file.rb
git commit -m "change some files"
git push github master
git checkout -b bc/new_branch
git status
git add changed_file.rb
git commit -m "change some files"
git push github bc/new_branch
git diff # show the differences
git branch -a # show all branches, locally and remotely
git remote # list remotes
git remote -v # list remotes with detail
git reset --hard HEAD~1 # go back 1 commit before the head
git remote rename origin github # rename a remote
git stash # temporarily store your changes
git stash pop # pop stashed changes back on top
git stash drop # drop stashed changes