{"id":22662759,"url":"https://github.com/shinjith-dev/git-sync","last_synced_at":"2025-03-29T09:13:22.788Z","repository":{"id":266165807,"uuid":"897588503","full_name":"shinjith-dev/git-sync","owner":"shinjith-dev","description":"Bash script for syncing updates to GitHub. ","archived":false,"fork":false,"pushed_at":"2024-12-02T22:43:06.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T23:36:49.003Z","etag":null,"topics":["git","github","script","sync"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shinjith-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-12-02T22:18:18.000Z","updated_at":"2024-12-02T22:46:55.000Z","dependencies_parsed_at":"2024-12-03T03:01:22.403Z","dependency_job_id":null,"html_url":"https://github.com/shinjith-dev/git-sync","commit_stats":null,"previous_names":["shinjith-dev/git-sync"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinjith-dev%2Fgit-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinjith-dev%2Fgit-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinjith-dev%2Fgit-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinjith-dev%2Fgit-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shinjith-dev","download_url":"https://codeload.github.com/shinjith-dev/git-sync/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246162155,"owners_count":20733357,"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":["git","github","script","sync"],"created_at":"2024-12-09T12:15:26.113Z","updated_at":"2025-03-29T09:13:22.768Z","avatar_url":"https://github.com/shinjith-dev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-sync\nShell script for syncing updates to GitHub. Mainly intended for usage in automated sync cases, such as a cronjob.\n\n**!!WARNING!!**\n------\nThis script is likely immature and requires proper revision; use at your own risk. In the worst-case situation, you may end up with a messy git folder or repository.\n\n## Control Flow\n1. Add changes (if exists)\n2. Commit changes (if exists)\n3. Pull from remote\n   - Merge preferred pull, if fails due to conflicts or other reasons\n   - Tries rebasing from remote, again if that fails\n   - Reset to remote repo, if somehow that doen't work\n   - Exit\n4. Pushing to remote\n   - Tries to push, if by any reason such as conflict resolution mistake fails\n   - Resets to remote repo, and pushes\n5. Finish\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshinjith-dev%2Fgit-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshinjith-dev%2Fgit-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshinjith-dev%2Fgit-sync/lists"}