My project consists of two main folders, /client
and /server
. .git
forlder is top-level:
/app
|-- /.git
|-- /client
|-- /server
And I have three branches
master
redux
prod
On redux
branch I’m migrating an app to Redux.
On master
branch there is current version of an app. Actually dev version.
I usually work on master
and do these commands to update my local/remote repos. It updates both, /server
and /client
:
git push origin master
git fetch origin master
git merge origin master
As I’m working on redux
branch and Redux migration, it's hugely not the same with current /client
folder in /master
.
The question is, how to fetch updates from master
branch from /server
folder only?
1) I'm on redux
branch. Working in /client
folder.
2) I push to redux
branch.
3) But I need fetch from master
branch from /server
folder.
Is it possible?