Working with 2 git repos simultaneously -


my company purchased license software. license includes access product's github account can real-time updates fetching code directly repository.

additionally, develop new functionality software in-house, , have created new git account (cloned original) has our version of code.

what's best way merge code product's original repo our code? 2 repositories configured different remote repositories.

assuming upstream name of upstream remote , want merge in master branch, think should simple as:

#fetch upstream changes git fetch upstream   #go branch you'll integrate them git checkout your_development_branch  #merge in upstream changes git merge upstream/master   #push result remote git push origin your_development_branch 

Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -