tag : git

Git Catchup Changes

There are following ways to catch up/revert changes in GIT Catchup changes from remote Pull out from remote again and you lost all of your local changes as well as hisory rm -Rf working_folders git c

GIT Tips At Weekend - Sunday

Cherry-Picking git cherry-pick [--edit] [-n] [-m parent-number] [-s] [-x] <commit> Selectively merge a single commit from another local branchExample: git cherry-pick 7300a6130d9447e18a931e898b

GIT Tips At Weekend - Saturday

Info git reflog Use this to recover from major fuck ups! It’s basically a log of thelast few actions and you might have luck and find old commits thathave been lost by doing a complex merge. git diff

GIT Tips At Weekend - Friday

Git Setup Git Clonegit clone [repo] clone the repository specified by [repo]. It defaully run git init and git remote add origin [repo] Add colors by setting ~/.gitconfig file:[color] ui = auto [colo

GIT Cheat Sheet

Here I am sharing two good git sheet as follows. http://ndpsoftware.com/git-cheatsheet.html