Skip to content

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

@JosephLai241

Description

@JosephLai241

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

Metadata

Metadata

Assignees

Labels

betaThis issue or feature should be resolved or implemented before an official releaseenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions