We have two Vendors working of the same piece of code. Due to logistics issue both maintain their own instances of git.
We sync the code periodically using the following approach:
- git pull from vendor1
- add a remote for vendor2
- Push to vendor 2
- Repeat this process
However, when a file is removed from vendor1 it should be removed for vendor2 as well. But somehow our process is failing to remove the files from vendor2.