This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################### Git tips ######################### | |
===== Git Checkout ===== | |
git checkout . => Delete all changes on current branch | |
git checkout branch_name => Switch Branch | |
git checkout -b branch_name => If Branch not exist, create and Switch | |
git checkout origin/master Gemfile => Reset specific file from master | |
===== Git Branch ===== |