I'm just going to store this here for my personal usage... Reset Resets state of branch to origin/branch. The --hard option throws away any changes, --soft only moves HEAD, keeping the changes. git reset --hard origin/mybranch Revert Reverts…
Motivation For a long time I was using Visual Studio with TFS to control my code. So when company I was working at that time wanted to move to git I continued to use integreated tools as well. And in a small team it was fine, basicly I couldn't tell…