{"id":19938191,"url":"https://github.com/2kabhishek/git-sync","last_synced_at":"2025-05-03T14:32:05.851Z","repository":{"id":172592917,"uuid":"613283635","full_name":"2KAbhishek/git-sync","owner":"2KAbhishek","description":"Hassle Free Git Syncing 🐙🔄","archived":false,"fork":false,"pushed_at":"2024-12-15T06:10:05.000Z","size":25,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-01T17:05:37.938Z","etag":null,"topics":["git","github","maintainers","repos","script","sync","utility"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/2KAbhishek.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}},"created_at":"2023-03-13T09:16:30.000Z","updated_at":"2024-12-15T06:10:08.000Z","dependencies_parsed_at":"2023-11-19T08:23:02.803Z","dependency_job_id":"d153fec3-7026-4bde-ad7a-714fcfb7edc2","html_url":"https://github.com/2KAbhishek/git-sync","commit_stats":null,"previous_names":["2kabhishek/gsync","2kabhishek/2kabhishek-git-sync","2kabhishek/git-sync"],"tags_count":0,"template":false,"template_full_name":"2KAbhishek/bare-minimum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fgit-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fgit-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fgit-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fgit-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2KAbhishek","download_url":"https://codeload.github.com/2KAbhishek/git-sync/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252203288,"owners_count":21710931,"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","maintainers","repos","script","sync","utility"],"created_at":"2024-11-12T23:38:39.912Z","updated_at":"2025-05-03T14:32:03.312Z","avatar_url":"https://github.com/2KAbhishek.png","language":"Shell","readme":"\u003cdiv align = \"center\"\u003e\n\n\u003ch1\u003e\u003ca href=\"https://github.com/2kabhishek/git-sync\"\u003egit-sync\u003c/a\u003e\u003c/h1\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/git-sync/blob/main/LICENSE\"\u003e\n\u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/2kabhishek/git-sync?style=flat\u0026color=eee\u0026label=\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/git-sync/graphs/contributors\"\u003e\n\u003cimg alt=\"People\" src=\"https://img.shields.io/github/contributors/2kabhishek/git-sync?style=flat\u0026color=ffaaf2\u0026label=People\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/git-sync/stargazers\"\u003e\n\u003cimg alt=\"Stars\" src=\"https://img.shields.io/github/stars/2kabhishek/git-sync?style=flat\u0026color=98c379\u0026label=Stars\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/git-sync/network/members\"\u003e\n\u003cimg alt=\"Forks\" src=\"https://img.shields.io/github/forks/2kabhishek/git-sync?style=flat\u0026color=66a8e0\u0026label=Forks\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/git-sync/watchers\"\u003e\n\u003cimg alt=\"Watches\" src=\"https://img.shields.io/github/watchers/2kabhishek/git-sync?style=flat\u0026color=f5d08b\u0026label=Watches\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/git-sync/pulse\"\u003e\n\u003cimg alt=\"Last Updated\" src=\"https://img.shields.io/github/last-commit/2kabhishek/git-sync?style=flat\u0026color=e06c75\u0026label=\"\u003e \u003c/a\u003e\n\n\u003ch3\u003eHassle Free Git Syncing 🐙🔄\u003c/h3\u003e\n\n\u003c/div\u003e\n\ngit-sync is a simple tool that silently syncs all your git repos.\n\nIf you have a bunch of git repos to maintain and switch devices often, a lot of time is wasted on syncing those repos.\n\nThis is as simple as running `git-sync`\n\n## ✨ Features\n\n- Sync all your git repos silently\n- Plain text based configuration\n\n## Setup\n\n### ⚡ Requirements\n\nYou will need a config file with repo paths: \"$HOME/.config/git-sync\"\n\n```\n$HOME/Projects/repo1\n$HOME/Projects/GitHub/repo2\n```\n\n### 🚀 Installation\n\n```bash\ngit clone https://github.com/2kabhishek/git-sync\ncd git-sync\n# symlink to a directory in your PATH\nln -sfnv $PWD/git-sync.sh $HOME/.local/bin/git-sync\n\ngit-sync config # Edit the config file located at $HOME/.config/git-sync.conf\n# or\ngit sync config\n```\n\n### 💻 Usage\n\n```bash\nUSAGE:\n    git-sync or git sync [c | config | -c | --config]\nExample:\n    git-sync # Sync repos in config file\n    git-sync c # Edit the config file\n```\n\n##  Behind The Code\n\n### 🌈 Inspiration\n\nMaintaining all of the repos I have was becoming a major hassle, faced some issues too, needed a tool to do this quietly.\n\n### 💡 Challenges/Learnings\n\n- I learned about using `IFS` for reading data for files\n- Used `case` for command line flags in bash\n\n### 🧰 Tooling\n\n- [Macfiles](https://github.com/2kabhishek/Macfiles) — Dev Environment\n- [nvim2k](https://github.com/2kabhishek/nvim2k) — Personalized Editor\n\n### 🔍 More Info\n\n- [entry](https://github.com/2kabhishek/entry) — Make daily entries\n- [committer](https://github.com/2kabhishek/committer) — Easy commits and backups\n\n\u003chr\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n\u003cstrong\u003e⭐ hit the star button if you found this useful ⭐\u003c/strong\u003e\u003cbr\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/git-sync\"\u003eSource\u003c/a\u003e\n| \u003ca href=\"https://2kabhishek.github.io/blog\" target=\"_blank\"\u003eBlog \u003c/a\u003e\n| \u003ca href=\"https://twitter.com/2kabhishek\" target=\"_blank\"\u003eTwitter \u003c/a\u003e\n| \u003ca href=\"https://linkedin.com/in/2kabhishek\" target=\"_blank\"\u003eLinkedIn \u003c/a\u003e\n| \u003ca href=\"https://2kabhishek.github.io/links\" target=\"_blank\"\u003eMore Links \u003c/a\u003e\n| \u003ca href=\"https://2kabhishek.github.io/projects\" target=\"_blank\"\u003eOther Projects \u003c/a\u003e\n\n\u003c/div\u003e\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2kabhishek%2Fgit-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2kabhishek%2Fgit-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2kabhishek%2Fgit-sync/lists"}