Skip to content

Instantly share code, notes, and snippets.

View FabricioFernandes's full-sized avatar

Fabricio Fernandes FabricioFernandes

View GitHub Profile
@dfop02
dfop02 / git_tips.txt
Last active July 12, 2024 13:59
All my git codes and tips
######################### 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 =====