Skip to content

Sync Mechanisms

ViscousPot edited this page Jan 24, 2025 · 5 revisions

In App

Sync Now

Warning

This cannot be used when there is an ongoing merge conflict

  • Triggers a standard sync (pull & push)

Force Push

  • Force pushes all local changes to remote so that they are matching

Force Pull

  • Force pulls all remote changes to local so that they are matching

Pull Changes

Warning

This cannot be used when there is an ongoing merge conflict or any uncommitted changes

  • Pulls any remote changes to local

Manual Sync

Warning

This cannot be used when there is an ongoing merge conflict

  • Opens a dialog to allow the user to selectively commit and push file changes

Quick Tile

  • Follow your OS-specific directions to add a quick tile
  • Select the quick tile labeled Sync - GitSync or Manual Sync - GitSync
  • Clicking the quick tile will trigger a sync (in the same way as the in-app sync button)

Auto Sync

Tip

Syncs when an app is opened or closed

  • Enable the auto sync feature
    • This will prompt you to enable the Git Sync Accessibility Service
    • This service is used to watch for the selected app being opened and closed (ignoring keyboards)
    • No data is collected or stored
  • Select an application to watch
  • Turn on/off sync on application opened or closed

Application observer panel

Custom Intent (advanced)

  • You can trigger a sync using a custom intent (e.g. from Tasker or other automation apps)
  • Intent details
    • Target: Service
    • Package: com.viscouspot.gitsync
    • Class: com.viscouspot.gitsync.GitSyncService
    • Action: INTENT_SYNC