Git Notes
Imp points: General points: Rename a branch -> First checkout to the branch which should be renamed then use git branch -m <new name> git detached head mode, nice blog here Git Fetch and Pull: To see all remote branches, use gir branch -r If a remote branch exists with name test,which can be viewed using git branch -r. If we want to create a local branch for the same use git switch branch name. This will do 2 actions: 1. Create a local branch with name test 2. Set up track top point to origin/test(which can be seen in .git/config file) git fetch origin test3 or git checkout test3 -> only fetches test3 branches info from remote to local but git fetch gets info of all branches in remote origin when using git pull(above 2.27.0), we need to specify how to reconcile divergent branches, using opions discussed here else it wil promt the warning Before pulling the changes if we want to see want has changed in master, you ca...