Skip to content

Add note about current branch detection#3412

Merged
vilmibm merged 1 commit intocli:trunkfrom
cristiand391:current-branch-help-text
Apr 14, 2021
Merged

Add note about current branch detection#3412
vilmibm merged 1 commit intocli:trunkfrom
cristiand391:current-branch-help-text

Conversation

@cristiand391
Copy link
Contributor

While digging into the code I found some gh pr subcommands already detect the current branch you are in when an argument isn't provided, but there wasn't any mention about it in their help text, this PR updates the help text for:

  • pr checks
  • pr comment
  • pr diff
  • pr edit
  • pr merge
  • pr ready

I've been using some of these subcommands this way for some time now but I guess new users may not know about it.

@cliAutomation
Copy link
Collaborator

Hi! Thanks for the pull request. Please ensure that this change is linked to an issue by mentioning an issue number in the description of the pull request. If this pull request would close the issue, please put the word 'Fixes' before the issue number somewhere in the pull request body. If this is a tiny change like fixing a typo, feel free to ignore this message.

Copy link
Contributor

@vilmibm vilmibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this, thanks!

@vilmibm vilmibm merged commit a12cbe7 into cli:trunk Apr 14, 2021
@cristiand391 cristiand391 deleted the current-branch-help-text branch April 14, 2021 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants