I'm considering using FreeFileSync to sync two locations that contain git repos. Is this a good idea?
I'm thinking that since I don't care which location I commit a change from it should all work out provided I don't change both sides between syncs. If I do though, is there a clean way to resolve the resulting file/merge conflict?
Is using FreeFileSync with git recommended?
- Posts: 5
- Joined: 22 May 2020
-
- Posts: 4866
- Joined: 11 Jun 2019
Yep, FFS won't sync anything if it detects changes have been made in both locations. You can set a custom sync to have FFS do an action if that happens also though
- Posts: 5
- Joined: 22 May 2020
I see. But as far as git is concerned, will I ever run into a situation where both sides are updated but different git files are modified on each side and FFS ends up merging the wrong way (i.e. in a way that messes up git's internal files)?