{"id":18218900,"url":"https://github.com/hankchanocd/git-stack","last_synced_at":"2025-09-17T23:49:27.150Z","repository":{"id":96374745,"uuid":"157114769","full_name":"hankchanocd/git-stack","owner":"hankchanocd","description":"Compare against master branch with fzf","archived":false,"fork":false,"pushed_at":"2018-11-16T20:12:45.000Z","size":318,"stargazers_count":19,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T22:33:27.194Z","etag":null,"topics":["branch","commit","fzf","git"],"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/hankchanocd.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-11T19:46:37.000Z","updated_at":"2024-11-20T09:06:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"71438f3f-b7d6-4d26-af6f-bc69c93259cb","html_url":"https://github.com/hankchanocd/git-stack","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/hankchanocd/git-stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hankchanocd%2Fgit-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hankchanocd%2Fgit-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hankchanocd%2Fgit-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hankchanocd%2Fgit-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hankchanocd","download_url":"https://codeload.github.com/hankchanocd/git-stack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hankchanocd%2Fgit-stack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275685482,"owners_count":25509530,"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-09-17T02:00:09.119Z","response_time":84,"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":["branch","commit","fzf","git"],"created_at":"2024-11-03T18:05:12.288Z","updated_at":"2025-09-17T23:49:27.142Z","avatar_url":"https://github.com/hankchanocd.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-stack \u0026nbsp;\u0026nbsp; ![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/hankchanocd/git-stack.svg) [![Build Status](https://travis-ci.org/hankchanocd/git-stack.svg?branch=master)](https://travis-ci.org/hankchanocd/git-stack) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![Github issues](https://img.shields.io/github/issues/hankchanocd/git-stack.svg)](https://github.com/hankchanocd/git-stack/issues) [![CodeFactor](https://www.codefactor.io/repository/github/hankchanocd/git-stack/badge)](https://www.codefactor.io/repository/github/hankchanocd/git-stack)\n\n\u003e Compare against master branch with fzf\n\n\u003cp align=\"center\"\u003e\n\u003cimg alt=\"demo\" width=\"850\" src=\"https://github.com/hankchanocd/git-stack/blob/master/images/demo.png\" /\u003e\n\u003c/p\u003e\n\nHave a quick glance at the differences between `develop` and `master` branch with `git stack`.\n\n## Install\n\nClone the repo, and run `npm run transfer` to transfer `./git-stack` to `~/bin`, or manually invoke `./script/transfer.sh` if you are not familiar with `npm`.\n\nIf you have a more desired `PATH` for storing scripts, configure `./script/transfer.sh` directly or ignore the transfer instructions.\n\n## Requirements\n\nMake sure [`fzf`](https://github.com/junegunn/fzf) is installed globally. `git stack` won't work if `fzf` is not installed.\n\n## Usage\n\n```\ngit-stack [\u003coptions\u003e]\n\nCompare against master branch with fzf\n\nwhere:\n\t-h  show this help text\n\t-f  fuzzy select a branch to compare with\n```\n\nA simple one-liner is all you need.\n```bash\n$ git stack\n```\n\n`git stack` compares the current branch against `master`. `git stack -f`, however, will ask for input from a fuzzy list of all available branches, to be compared against `master`.\n\n## Changelog\n\n**2018-Nov-11:** `v1` published. Automate commit and file transfer process with [`commitizen`](http://commitizen.github.io/cz-cli/) and [`ghooks`](https://github.com/ghooks-org/ghooks).\n\n**2018-Nov-13:** `-f` created for fuzzy selecting branch to compare with `master`.\n\n## Others\n\nSee [Dotfiles](https://gitlab.com/hankchanocd/dotfiles) for my other works on `git`.\n\nSee [git-overview](https://github.com/hankchanocd/git-overview) - A quick git repository insight at terminal.\n\nSee [git-commands](https://github.com/hankchanocd/git-commands) - Fuzzy search git commands with fzf.\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhankchanocd%2Fgit-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhankchanocd%2Fgit-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhankchanocd%2Fgit-stack/lists"}