GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add branch name to `gh pr list` by probablycorey · Pull Request #3 · cli/cli

Conversation

@probablycorey

@probablycorey probablycorey commented Oct 7, 2019

Copy link
Copy Markdown
Contributor

It was bugging me that our text prototypes had the branch name in the PR list but our prototype didn't. Now that we use graphql to get PR information we can display the branch names!

Here is what it looks like in this PR.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
probablycorey added 2 commits October 7, 2019 11:24
@probablycorey
Add HeadRefName
b2ff88d
@probablycorey
We only need one styled text now
696d6f8
@probablycorey
probablycorey requested a review from a team October 7, 2019 18:27
@probablycorey
Whoops, that was supposed to stay in here.
996619e
mislav
mislav approved these changes Oct 8, 2019
View reviewed changes

@mislav mislav left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Awesome! 🎉

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread command/pr.go
{{- if . }}
{{- range .}}
#{{.Number}} {{.Title}}
#{{.Number}} {{.Title}} {{cyan "[" .HeadRefName "]"}}

@mislav mislav Oct 8, 2019

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Should the branch name also include the OWNER: portion if the pull request is coming from a different repo? This would match how head branches are shown on GitHub web.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@probablycorey probablycorey Oct 9, 2019

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

That's a good idea. When this goes into master let's do it!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tierninho
tierninho self-requested a review October 9, 2019 01:44
tierninho
tierninho approved these changes Oct 9, 2019
View reviewed changes

@tierninho tierninho left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Based on the commits, it looks as if this is the change. The bold, cyan text for the branch name.

Screen Shot 2019-10-08 at 3 45 06 PM
Screen Shot 2019-10-09 at 10 41 58 AM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

probablycorey reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@probablycorey
probablycorey merged commit e254649 into prototype Oct 9, 2019
@probablycorey
probablycorey deleted the add-head-ref-name branch October 9, 2019 20:12
mislav pushed a commit that referenced this pull request Sep 28, 2021
@josebalius
Merge pull request #3 from github/jg/ignore-eof-terminal
cd99399
Ignore EOF on terminal close
jtmcg added a commit that referenced this pull request Mar 12, 2025
@jtmcg
Separate partitioning from globbing in cmdutil/args package and consu…
0bb92c5
…mers (#3)

* Separate partitioning from globbing in cmdutil/args package and consumers

In the previous commit, GlobPaths was overloaded, containing logic
specific to command use-cases. This commit removes that functionality from
GlobPaths and back into the commands that have the special use-cases.

To do this, I've introduced a new Partition util in cmdutil/args.go that
will separate a slice into two slices given a predicate. This functionality
is leveraged by both the special use-cases described above to separate the
command-specific syntax from the globable filepaths.

* Add test to validate that the order of '-' in gh gist create args doesn't matter
ghos6t69-del
ghos6t69-del reviewed Mar 10, 2026
View reviewed changes

@ghos6t69-del ghos6t69-del left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
williammartin added a commit that referenced this pull request Mar 17, 2026
@williammartin
Add telemetry opt-out via env var and config (#3)
ac0ebeb
Co-authored-by: Copilot <[email protected]>
@BagToad BagToad mentioned this pull request Mar 30, 2026
Add Issues 2.0 support: issue types, sub-issues, and relationships #13057
Merged
@coderabbitai coderabbitai Bot mentioned this pull request Apr 26, 2026
feat(queue): bind merge-ready to SHA-bound receipt (#6859) EffortlessMetrics/perl-lsp#6958
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

3 more reviewers
@ghos6t69-del ghos6t69-del ghos6t69-del left review comments
@mislav mislav mislav approved these changes
@tierninho tierninho tierninho approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@probablycorey @mislav @tierninho @ghos6t69-del
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.