git-fresh
brew install git-fresh
v1.13.0
MIT
Utility to keep git repos fresh
26
30-day installs · #6175
29
90-day · #8716
48
365-day · #11179
511
★ GitHub stars · updated 4mo ago
GitHub topics
git
hacktoberfest
utility
Links
- https://github.com/imsky/git-fresh
- GitHub: imsky/git-fresh
- Brew formula source: Formula/g/git-fresh.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Utility to keep git repos fresh",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:03+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "git-fresh",
"github_default_branch": "master",
"github_last_commit_at": "2026-04-06T15:14:45Z",
"github_readme_excerpt": "# 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## Requirements\n\nGit 2.13.0 or newer.\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.sh/): `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",
"github_repo": "imsky/git-fresh",
"github_stars": 511,
"github_topics": [
"git",
"hacktoberfest",
"utility"
],
"homepage": "https://github.com/imsky/git-fresh",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 26,
"installs_365d": 48,
"installs_90d": 29,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "git-fresh",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 6175,
"rank_365d": 11179,
"rank_90d": 8716,
"raw_hash": "5bfe02c71323a12b",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/g/git-fresh.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "1.13.0",
"versioned_formulae": [],
"why_use_this": null
}