Problem Sync and Git


kenneito

Recommended Posts

Hello,

I have some projects versioned by Git in synced folder, I found out that Git does not work too well because Sync is trying to sync the files (e.g. checkout another branch after committing). I know I can pause the sync but then it is a burden to turn it on/off every time (and sometimes I forget). Does anyone have any solutions?

 

Thanks!

Link to comment
Share on other sites

@kenneito Not 100% sure what exactly happens in your case, but in general when you encounter some compatibility issue with other apps there are 2 ways in Sync to workaround it:

  1. IgnoreList to ignore files that your want Sync not to touch
  2. FileDelayConfig to force Sync to not to touch file for some time after it changes (based on extension of a file).
Link to comment
Share on other sites

1 hour ago, RomanZ said:

@kenneito Not 100% sure what exactly happens in your case, but in general when you encounter some compatibility issue with other apps there are 2 ways in Sync to workaround it:

  1. IgnoreList to ignore files that your want Sync not to touch
  2. FileDelayConfig to force Sync to not to touch file for some time after it changes (based on extension of a file).

I think Sync is accessing the files with write permission which makes git cannot modify them. How do I use the FileDelayConfig option? I can't find it anywhere.

Link to comment
Share on other sites

 

6 hours ago, RomanZ said:

@kenneito Not 100% sure what exactly happens in your case, but in general when you encounter some compatibility issue with other apps there are 2 ways in Sync to workaround it:

  1. IgnoreList to ignore files that your want Sync not to touch
  2. FileDelayConfig to force Sync to not to touch file for some time after it changes (based on extension of a file).

Nevermind I found it. (Can you not edit posts?)

It is not too useful for me since there are a lot of different kinds of files monitored in git. It would be better to have the same setting but for a directory.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.