I am using Insync on two different computers under Linux (Ubuntu 24.04 and Pop!Os 22.04). I am synchronizing folders that are git repositories.
This is the situation that I am facing, and I am not sure if this is the intended behaviour.
Edit git repository on Computer A and push it to github
Insync synchronizes the change into my google cloud
Open computer B and check git status
To get consistent files across machines, I need to discard the changes in computer B.
Is this the better way to synchronize git repos with two different computers and with the cloud? On top of that, how can I ignore the .git folder to not occupy the storage in my cloud?
Let me know if you need any further information from me.
Hi @gpetrini. Thank you for reaching out! It is not recommended to sync git repositories on Insync. Some users may not experience issues, while others may need a workaround to sync it to the cloud and across machines, like in your case.
Git, or any form of version control system, can be considered as another syncing application which means that there are two systems touching the files at the same time. This can cause issues like deletions, stuck syncing, duplication, errors, and the like.
To ignore the .git folder to not sync to the cloud, you can check our Ignore Rules guide.
It worked for some folders. However, there are some folders that never complete the sync with the cloud. For those, the .git folder continues to be synced.
The screenshot below shows one of the folders that never stops updating. It is the same for more than one day. No new messages are on the “Feed,” and no file has been uploaded or scanned. Is this expected?
It’s possible that Insync is still loading the changes from when you implemented the Ignore Rule.
What is the status as of today? If it’s the same, can you click Pause app at the bottom of the Insync window, wait for 1 minute, then click Resume app?