[wd_asp elements=’search’ ratio=’100%’ id=1]

Merge/Update Master and new features/fixes in Git

17th March 2015

Random Coding

random coding category codehaven

To update a feature that you have been working on for a long period of time, with a new update of Master: –

Git checkout master //(be on master)
Git pull upstream master //(this gets the update)

Now get into the branch that’s behind: –
Git checkout feature-mynavigation //(you are now in feature-mynavigation)
Git merge master //(this puts all the new changes into feature-mynavigation)