Posts

Showing posts from August, 2022

Git Notes

Image
 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...

Time table

Image
 Devops classes: Track1:(Non containerization) ------------------------------------------------------------------------ Git ------------------------------------------------------------------------ Day1: Installing git in linux and windows Introduction to git(wordir,staging,local and repo repo && file status- untracked,modified,staged) git basic commands(pull,push,commit,add,clone etc) branching git pointers(HEAD,origin/HEAD,master,origin/master etc) merge(fastforward and recursive) rebase Day 2: merge and rebase conflicts git ignore file git stash git fetch and pull hands on(and behind the scenes) git workflows undoing changes git detached head mode Integration with jenkins(pending) git internals ------------------------------------------------------------------------- AWS -------------------------------------------------------------------------- Types of cloud computing services(IAAS,PAAS,SAAS) Aws Global infrastructure(regions,availability zones,data centers,local zones(c...