{"id":19031423,"url":"https://github.com/gitjournal/git-auto-sync","last_synced_at":"2025-04-11T08:54:30.261Z","repository":{"id":41163299,"uuid":"287005710","full_name":"GitJournal/git-auto-sync","owner":"GitJournal","description":"Automatically Sync Git Repos","archived":false,"fork":false,"pushed_at":"2024-07-16T17:40:13.000Z","size":150,"stargazers_count":151,"open_issues_count":13,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T18:51:01.544Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GitJournal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-12T12:16:58.000Z","updated_at":"2025-03-20T19:31:40.000Z","dependencies_parsed_at":"2024-01-07T21:02:28.200Z","dependency_job_id":"4426f21a-924e-4cc9-8ae5-29b3b5a4761b","html_url":"https://github.com/GitJournal/git-auto-sync","commit_stats":{"total_commits":143,"total_committers":1,"mean_commits":143.0,"dds":0.0,"last_synced_commit":"4c47abae959b5ae687292cd4895216377e06fa9f"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitJournal%2Fgit-auto-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitJournal%2Fgit-auto-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitJournal%2Fgit-auto-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitJournal%2Fgit-auto-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GitJournal","download_url":"https://codeload.github.com/GitJournal/git-auto-sync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248363402,"owners_count":21091348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T21:23:20.501Z","updated_at":"2025-04-11T08:54:30.240Z","avatar_url":"https://github.com/GitJournal.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Auto Sync\n\nGitAutoSync is a simple command line program to automatically commit changes\nto your git repo, and always keep that repo up to date. This way you can use any editor with your text files, and never need to worry about\ncomitting and remembering to push and pull changes.\n\n## Installation\n\n* OSX - `brew install GitJournal/tap/git-auto-sync`\n* Linux -\n  - Ubuntu/Debian -\n\n    ```bash\n    sudo echo \"deb [trusted=yes] https://apt.fury.io/vhanda/ /\" | sudo tee /etc/apt/sources.list.d/git-auto-sync.list\n    sudo apt-get update\n    sudo apt-get install -y git-auto-sync\n    ```\n  - Fedora/RPM -\n\n    ```bash\n    sudo echo -e \"[git-auto-sync]\\nname=Git-Auto-Sync\\nbaseurl=https://yum.fury.io/vhanda/\\nenabled=1\\ngpgcheck=0\" | sudo tee /etc/yum.repos.d/git-auto-sync.repo\n    sudo yum update\n    sudo yum install -y git-auto-sync\n    ```\n  - Arch Linux - Please write an AUR package and open a PR for this. You're an Arch User. You got this.\n  - Other - Download the [latest release](https://github.com/GitJournal/git-auto-sync/releases/latest)\n* Windows - Download the [latest release](https://github.com/GitJournal/git-auto-sync/releases/latest)\n\n## How to use?\n\nGitAutoSync comes with a manual and daemon mode. It's recommended to start with the manual\nmode to ensure authentication is working correctly. It internally just calls the `git` executable\nso, if that works, `git-auto-sync` should just work.\n\nYou can test it out by running `git-auto-sync sync` to commit, pull, rebase and push any changes.\nIf there are no changes, it will just attempt to pull, rebase and push.\n\nOnce you're satisfied that `git-auto-sync` is working for you. You can run `git-auto-sync daemon add \u003crepoPath\u003e` to start a background daemon which will continously monitor that repo for any changes\nin the file system and accordingly sync the changes.\n\nThis daemon will be automatically started as a system process.\n\nYou can check if it is running `git-auto-sync daemon status`\n\n### Background Daemon\n\nThe background daemon will be started / stopped automatically if there are any repos to watch in `git-auto-sync daemon ls`.\nThis process will monitor the filesystem, poll every 10 minutes, and additionally try to sync on resuming from a suspend. The latter\ntwo are done to pick up changes from the remote.\n\n### Merge Conflicts\n\nGitAutoSync current only supports rebases, and doesn't yet attempt to do a merge. In the case of a\nrebase conflict, it will abort and stop syncing that repo. It will send a system notification\nto inform you of the conflict.\n\n### Ignored Files\n\nIt currently ignores all hidden files, files ignored by git, and additional temporary swap files\ncreated by vim, emacs and similar editors.\n\n## Similar Projects\n\n- [Obsidian Git](https://github.com/denolehov/obsidian-git)\n- [VS Code GitDoc](https://marketplace.visualstudio.com/items?itemName=vsls-contrib.gitdoc)\n- [Git Annex](https://git-annex.branchable.com/)\n- [Git Sync](https://github.com/simonthum/git-sync)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitjournal%2Fgit-auto-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitjournal%2Fgit-auto-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitjournal%2Fgit-auto-sync/lists"}