cli/pkg/cmd/pr
Frederick Zhang 0179381efd
Find PRs using @{push}
When using a push.default = current central workflow [1], we should use
@{push} instead to locate the remote branch.

In fact, @{push} covers most cases in push.default = upstream too. The
branch.<name>.merge is probably only needed when using RemoteURL and
different remote / local branch names.

[1] https://github.com/tpope/vim-fugitive/issues/1172#issuecomment-522301607
2025-01-07 10:18:01 +11:00
..
checkout Fix PR checkout panic when base repo is not in remotes 2024-12-02 17:20:57 +01:00
checks Error for mutually exclusive json and watch flags 2024-12-05 10:23:13 -05:00
close Apply first round of owner/repo#number consistency 2024-03-01 14:03:18 -05:00
comment Fix tests 2024-08-16 10:11:52 -07:00
create Find PRs using @{push} 2025-01-07 10:18:01 +11:00
diff Fix tests 2024-08-16 10:11:52 -07:00
edit Replace --project.* flags' name with title in docs (#9443) 2024-08-09 13:55:14 -07:00
list Fix tests 2024-08-16 10:11:52 -07:00
merge Return err instead of silentError in merge queue check 2024-12-12 15:54:01 -07:00
ready Apply first round of owner/repo#number consistency 2024-03-01 14:03:18 -05:00
reopen Fix breaking test for PR/issue # change 2024-03-01 16:04:24 -05:00
review Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
shared Find PRs using @{push} 2025-01-07 10:18:01 +11:00
status Find PRs using @{push} 2025-01-07 10:18:01 +11:00
update-branch Rename package directory and files 2024-07-17 18:52:23 +01:00
view Adding option to return baseRefOid in pr view 2024-11-19 23:50:45 +02:00
pr.go Rename package directory and files 2024-07-17 18:52:23 +01:00