Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 2.25 KB

Documentation.md

File metadata and controls

64 lines (48 loc) · 2.25 KB

Documentation

Authentication Methods.

oAuth

One-click browser authentication, sufficient for most users

  • GitHub
  • Gitea

Other

Manual arbitrary authentication methods for more advanced/self-hosting users

  • HTTP/S
    • Username and token for auth
  • SSH
    • Generated RSA token pair for auth

Sync Mechanisms

From quick tile

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

When app opened or closed

Application observer panel

  • 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

From 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

Settings

Settings dialog

Sync Message

  • Customise the commit message template that is used on sync
  • Use %s to have the date and time inserted in the format yyyy-MM-dd HH:mm:ss (1997-01-01 12:00:00)

Gitignore

  • Allows editing of the repository's gitignore file
  • A list of files and folder paths that should not be synced
  • See here for more

git/info/exclude

  • Allows editing of the repository's local gitignore file
  • A list of files and folder paths that should not be synced
  • See here for more

Extra Settings

Turn on/off notifications button

  • Turn on/off flashing a small popup message on screen when a sync happens