Skip to content

Feature Request: Selective Folder Sync Support #39

@my-git-blog

Description

@my-git-blog

I would like to request a feature for the GitHub Gitless Sync plugin that allows users to selectively sync only a specific folder or subfolder within their Obsidian vault instead of syncing the entire vault.

Current Behaviour:
Currently, the plugin syncs the entire vault content with the remote GitHub repository - if I am not mistaken. There seems to be no built-in option to restrict sync to a particular folder, which makes it difficult for users who want to version control or backup just part of their notes or keep separate projects isolated.

Proposed Solution:
Add a configuration option in the plugin settings to specify one or more folder paths in the vault that should be synced exclusively. The plugin would then only track and sync changes inside those folders, ignoring everything outside.

Benefits:
• Enables users to limit GitHub sync scope to relevant projects or subsets of notes.
• Reduces data transferred and conflicts for large vaults with unrelated content.
• More flexibility replicating Git management tactics like .gitignore which is a pain tbh but driven by an explicit folder include list.
• Aligns with common workflows where only a portion of the vault is meant for public or shared version control.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions