{"id":13438528,"url":"https://github.com/muesli/gitomatic","last_synced_at":"2025-10-08T19:21:20.939Z","repository":{"id":45250834,"uuid":"200300736","full_name":"muesli/gitomatic","owner":"muesli","description":"A tool to monitor git repositories and automatically pull \u0026 push changes","archived":false,"fork":false,"pushed_at":"2020-04-16T17:18:58.000Z","size":30,"stargazers_count":1034,"open_issues_count":6,"forks_count":49,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-05-24T07:03:56.877Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/muesli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"muesli"}},"created_at":"2019-08-02T21:37:36.000Z","updated_at":"2025-04-26T15:36:31.000Z","dependencies_parsed_at":"2022-07-13T11:20:35.146Z","dependency_job_id":null,"html_url":"https://github.com/muesli/gitomatic","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/muesli/gitomatic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muesli%2Fgitomatic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muesli%2Fgitomatic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muesli%2Fgitomatic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muesli%2Fgitomatic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muesli","download_url":"https://codeload.github.com/muesli/gitomatic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muesli%2Fgitomatic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000701,"owners_count":26082805,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["hacktoberfest"],"created_at":"2024-07-31T03:01:06.246Z","updated_at":"2025-10-08T19:21:20.922Z","avatar_url":"https://github.com/muesli.png","language":"Go","funding_links":["https://github.com/sponsors/muesli"],"categories":["HarmonyOS","开源类库","Go","Open source library","hacktoberfest"],"sub_categories":["Windows Manager","Git"],"readme":"git-o-matic\n===========\n\nA tool to monitor git repositories and automatically pull \u0026 push changes\n\n## Installation\n\n### Packages \u0026 Binaries\n\n- Arch Linux: [gitomatic](https://aur.archlinux.org/packages/gitomatic/)\n- [Binaries](https://github.com/muesli/gitomatic/releases) for Linux, macOS \u0026 Windows\n\n### From Source\n\nMake sure you have a working Go environment (Go 1.11 or higher is required).\nSee the [install instructions](http://golang.org/doc/install.html).\n\nCompiling gitomatic is easy, simply run:\n\n    git clone https://github.com/muesli/gitomatic.git\n    cd gitomatic\n    go build\n\n## Usage\n\nMonitor a repository for changes and automatically pull \u0026 push changes:\n\n```\ngitomatic \u003cpath\u003e\n\n2019/08/03 00:16:48 Checking repository: /tmp/gitomatic-test/\n2019/08/03 00:16:48 Pulling changes...\n2019/08/03 00:16:49 New file detected: hello_world.txt\n2019/08/03 00:16:49 Adding file to work-tree: hello_world.txt\n2019/08/03 00:16:49 Creating commit: Add hello_world.txt.\n2019/08/03 00:16:49 Pushing changes...\n2019/08/03 00:16:53 Sleeping until next check in 10s...\n2019/08/03 00:17:03 Checking repository: /tmp/gitomatic-test/\n2019/08/03 00:17:03 Pulling changes...\n2019/08/03 00:17:07 Deleted file detected: hello_world.txt\n2019/08/03 00:17:07 Removing file from work-tree: hello_world.txt\n2019/08/03 00:17:07 Creating commit: Remove hello_world.txt.\n2019/08/03 00:17:07 Pushing changes...\n```\n\nAuth methods:\n\n```\ngitomatic -privkey ~/.ssh/id_rsa \u003cpath\u003e\ngitomatic -username \"someone\" -password \"mypass\" \u003cpath\u003e\n```\n\nIf you want to pull new changes but don't create commits (or vice versa):\n\n```\ngitomatic -pull=true -push=false \u003cpath\u003e\n```\n\nYou can control how often gitomatic checks for changes:\n\n```\ngitomatic -interval 30m \u003cpath\u003e\n```\n\nChange the commit author's name and email:\n\n```\ngitomatic -author \"John Doe\" -email \"some@mail.tld\" \u003cpath\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuesli%2Fgitomatic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuesli%2Fgitomatic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuesli%2Fgitomatic/lists"}