{"id":19251897,"url":"https://github.com/thrawn01/clip","last_synced_at":"2025-07-27T14:34:47.746Z","repository":{"id":11189610,"uuid":"63466833","full_name":"thrawn01/clip","owner":"thrawn01","description":"Git Branch Tools","archived":false,"fork":false,"pushed_at":"2025-05-30T17:27:55.000Z","size":1297,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-31T01:36:25.848Z","etag":null,"topics":["branches","cli","clip","git","tools","workflow"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/thrawn01.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,"zenodo":null}},"created_at":"2016-07-16T05:15:26.000Z","updated_at":"2025-05-30T17:27:58.000Z","dependencies_parsed_at":"2025-05-30T19:17:35.228Z","dependency_job_id":"5f07b8dc-5c88-42a6-8d06-db396e553ffa","html_url":"https://github.com/thrawn01/clip","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/thrawn01/clip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thrawn01%2Fclip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thrawn01%2Fclip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thrawn01%2Fclip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thrawn01%2Fclip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thrawn01","download_url":"https://codeload.github.com/thrawn01/clip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thrawn01%2Fclip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262720641,"owners_count":23353450,"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":["branches","cli","clip","git","tools","workflow"],"created_at":"2024-11-09T18:24:29.835Z","updated_at":"2025-06-30T06:07:51.044Z","avatar_url":"https://github.com/thrawn01.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Clip\n\nClip is a tool that allows you to see the state of all your git branches at a glance.\n\n### Git clip\n\nDue to the collaborative nature of git; over time one begins to accumulate\nquite a few local and remote branches. Keeping track of what branch\nneeds to be merged, has already been merged, and what branches need a pull can\ntax the little grey cells.\n\n``git clip`` is designed to help elevate this pain by providing a clear view\nof all your local and remote branches.\n\n![alt tag](https://raw.githubusercontent.com/thrawn01/clip/master/gifs/clip-usage.png)\n\nEach branch is annotated like so\n\n```branch-name (commits-added/commits-behind) [name-of-tracking-remote]```\n\n* ``branch-name`` - This is the name of our local branch\n* ``commits-added`` - This is the number of commits added to our branch. If this\n number is zero, this branch has no new commits, or has already been merged so it's\nsafe to delete.\n* ``commits-behind`` - This is the number of commits behind master. If this number is\n anything but zero you should rebase this branch.\n* ``name-of-tracking-remote`` - This is the name of the remote branch your local branch\n is tracking\n\nFollowing the branch annotation is a list of remotes. Wherever a remote branch\n matches our local branch it is listed with an indicator of how many commits ahead\n  or behind our local branch is relative to the remote branch.\n\n![alt tag](https://raw.githubusercontent.com/thrawn01/clip/master/gifs/clip.gif)\n\n\n### git clip-remote\nOver time you can collect a large number of branches left on a remote repo.\n``clip-remote`` makes cleaning up these branches simple. It will only ever ask\nyou to delete branches that are on the remote, and will never ask to delete tracked\nbranches even if the local branch name differs from the remote branch name.\n\n![alt tag](https://raw.githubusercontent.com/thrawn01/clip/master/gifs/clip-remote.gif)\n\n\n### Installation\n\n#### Binary\n\nDownload prebuilt binaries\n* [darwin](https://github.com/thrawn01/clip/releases/download/v0.2.0/clip-v0.2.0-darwin-amd64.tar.gz)\n* [linux-386](https://github.com/thrawn01/clip/releases/download/v0.2.0/clip-v0.2.0-linux-386.tar.gz)\n* [linux-amd64](https://github.com/thrawn01/clip/releases/download/v0.2.0/clip-v0.2.0-linux-amd64.tar.gz)\n\n```bash\n# Untar in git's exec path\ncd `git --exec-path`\ntar -vzxf clip-v0.2.0-darwin-amd64.tar.gz\n```\n\n#### Source\n```bash\ngo install github.com/thrawn01/clip/cmd/clip@latest\ngo install github.com/thrawn01/clip/cmd/clip-remote@latest\n```\nLink the binaries to git's exec path\n```bash\n# Fish\nset GIT_EXEC (git --exec-path)\nln -s $GOPATH/bin/clip $GIT_EXEC/git-clip\nln -s $GOPATH/bin/clip-remote $GIT_EXEC/git-clip-remote\n\n# sh\nGIT_EXEC=`git --exec-path`\nln -s $GOPATH/bin/clip $GIT_EXEC/git-clip\nln -s $GOPATH/bin/clip-remote $GIT_EXEC/git-clip-remote\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthrawn01%2Fclip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthrawn01%2Fclip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthrawn01%2Fclip/lists"}