warpdotdev / warpdotdev/warp

Display the number of commits that have not been pushed to the git branch

Open
#4,814 2 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement ready-to-spec triaged
Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

Discord username (optional)

No response

Describe the solution you'd like?

Want to see how many commits under the current branch have not yet been pushed to the remote end?
like: xxx/xx git:(feat/xxx) ↑2

Want to see how many commits under the current branch have not been pulled yet?
like: xxx/xx git:(feat/xxx) ↓2

Is your feature request related to a problem? Please describe.

No response

Additional context

No response

How important is this feature to you?

1 (Not too important)

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

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 from the terminal prompt's current-branch display and trace how it obtains branch status from the local and remote Git repositories. Define completion as showing separate up and down commit counts, using the requested ↑2 and ↓2 format, for branches that differ from their remote.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.