So, if you do not want to pull out files modified in A , you can do like this:
In B create a new branch and push it to the remote service (no change, as you said):
cd path/to/init.el git branch featureModifiedInB git checkout featureModifiedInB git push origin featureModifiedInB
In A pull out the branch update created in B , manage merge and conflict:
cd path/to/init.el git pull origin featureModifiedInB // Or you can do fetch and manually do merging. git checkout master git merge featureModifiedInB // After solve the conflict if it exists. git push origin master
It ensures that the person using B cannot see the files that are edited by the person who uses A But this will cause a problem: pB cannot get feedback about the code that it created. But pA can also change the featureModifiedInB branch and let it pull out pB (mom ... a little troublesome ..).
source share