{"id":13452436,"url":"https://github.com/imsky/git-fresh","last_synced_at":"2025-04-05T07:07:49.438Z","repository":{"id":1987090,"uuid":"40637960","full_name":"imsky/git-fresh","owner":"imsky","description":":lemon: Keep your Git repo fresh.","archived":false,"fork":false,"pushed_at":"2021-12-11T11:14:34.000Z","size":90,"stargazers_count":507,"open_issues_count":5,"forks_count":22,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-10-14T11:35:25.343Z","etag":null,"topics":["git","hacktoberfest","utility"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/imsky.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}},"created_at":"2015-08-13T03:55:32.000Z","updated_at":"2024-09-12T18:28:48.000Z","dependencies_parsed_at":"2022-08-06T11:16:34.204Z","dependency_job_id":null,"html_url":"https://github.com/imsky/git-fresh","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imsky%2Fgit-fresh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imsky%2Fgit-fresh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imsky%2Fgit-fresh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imsky%2Fgit-fresh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imsky","download_url":"https://codeload.github.com/imsky/git-fresh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299833,"owners_count":20916190,"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","hacktoberfest","utility"],"created_at":"2024-07-31T07:01:24.083Z","updated_at":"2025-04-05T07:07:49.412Z","avatar_url":"https://github.com/imsky.png","language":"Shell","funding_links":[],"categories":["Shell","Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# git-fresh :lemon:\n\nKeep your repo fresh with one command.\n\n## Usage\n\n```\nSYNOPSIS\n  git-fresh [-fmrtRWS] [-sl] [remote] [root]\n\nDESCRIPTION\n  git-fresh helps keep your Git repo fresh.\n\n  By default, git-fresh will:\n  - update local root (master) to match remote root\n  - stash changes\n  - prune remote branches\n\n  git-fresh will ignore any branches listed in a .freshignore file.\n  .freshignore should contain branch names you would like to ignore\n  on separate lines. The file can exist in the current Git repo\n  or in the home directory, i.e. ~/.freshignore.\n\n  remote is origin by default. root is master by default.\n\nOPTIONS\n  -f  Delete stale local and remote branches\n  -m  Merge remote root into current branch\n  -r  Rebase current branch against remote root\n  -t  Remove local tags that do not exist on remote\n  -R  Reset local root to remote root\n  -W  Wipe workspace clean\n  -S  Clear all stash entries\n\n  -s  Apply stashed changes after run\n  -l  Only delete local stale branches\n\n  -v  Print git-fresh version and exit\n```\n\n## Installation\n\n### Manual on Linux or macOS\n\n1. Clone or download\n2. `cd git-fresh`\n3. `sudo ./install.sh`\n\n### Manual on Windows\n\nCopy the file [git-fresh](https://raw.githubusercontent.com/imsky/git-fresh/master/git-fresh) to `usr\\bin` in your git installation directory.\nThis usually is `C:\\Program Files\\Git\\usr\\bin`.\n\n### Package\n\n* [Homebrew](http://brew.sh/): `brew install git-fresh`\n* [bpkg](http://www.bpkg.io/): `bpkg install imsky/git-fresh`\n* [AUR](https://aur.archlinux.org/): [git-fresh](https://aur.archlinux.org/packages/git-fresh/)\n\n## License\n\ngit-fresh is provided under the [MIT License](http://opensource.org/licenses/MIT).\n\n## Credits\n\ngit-fresh is a project by [Ivan Malopinsky](http://imsky.co).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimsky%2Fgit-fresh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimsky%2Fgit-fresh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimsky%2Fgit-fresh/lists"}