Steps To Configure new folder git setup : git init git config --global user.name "USERNAME" git config --global user.email "GITMAILID" git remote add origin https://github.com/Dharmend/multisite.git git config core.filemode false Git Checkout performs the three types of operations : 1 – Checkout files , ( git chekout aa.txt ) 2 – Checkout branch , ( git checkout “branch name” ) 3 – Checkout commits , ( git checkout k9s7hjkh76 ) git diff : Command : git diff To show the difference between last commit file and current change file,if you add file in staging area then it will not show the diff, to see the diff use git diff --cached git checkout vs git revert vs git reset : git checkout - download the updated code of the branch and file while HEAD is not changed While git reset, moves both the HEAD and branch refs to the specified commit git revert- The git revert command is a forward-moving undo operat...
Trying to Learn new things on drupal.