nomad icon indicating copy to clipboard operation
nomad copied to clipboard

Feature/Enhancement Request | Remove the "No upstream branch found" message from the `git status` subcommand

Open JosephLai241 opened this issue 1 year ago • 0 comments

Provide Context for the New Feature or Enhancement You Would Like

I recently learned some people do not run git push --set-upstream origin <BRANCH_NAME> when pushing code from a new branch upstream. nomad currently assumes a user would do this, and displays the number of commits ahead of an upstream branch assuming the user has ran that Git command.

A message "No upstream branch found" is displayed if the user does not run that Git command and runs the nd git status subcommand.

Explain Why You Believe This Would Be a Good Feature

The "No upstream branch found" message may become annoying for anyone who does not run that Git command to set the upstream branch. I think I should remove this message and only display the number of commits ahead if the user chooses to set the upstream branch.

Is Your Request Related To a Problem?

N/A

Describe Alternatives You Have Considered

N/A

Additional Context

N/A

JosephLai241 avatar Aug 24 '22 17:08 JosephLai241