tj / tj/git-extras

Branch management utility

Open
#528 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Shell
Stars
18.1k
Forks
1.2k
Avg merge
5d 17h
Merged PRs (30d)
1

Description

It would be nice to have some branch management utilities including the following:

  • list branches which are local but not on remote git branches --missing <remote>
  • list branches which are on remote but not local git branches --missing-from <remote>
  • delete branches which are not on remote git branches --missing <remote> --delete
  • delete branches on remote which are not local git branches --missing-from <remote> --delete

Most of the commands necessary for this are discussed http://stackoverflow.com/questions/7726949/remove-branches-no-longer-on-remote

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing existing git-extras command entry points and the requested git branches --missing and --missing-from behavior, then consult the linked Stack Overflow discussion. Done means utilities can list and delete local-only branches and remote-only branches as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, shell
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.