You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.
For example, can we make gh pr 100 fetches the PR on my repo to local branch pr-100, while gh pr 100 -u johndoe fetches the PR on John Doe's repo to local branch john-doe-pr-100?
The text was updated successfully, but these errors were encountered:
@dantewang That is a good use case thanks for bringing it up.
In ~/.gh.json there is a field that we could leverage to do this: "pull_branch_name_prefix": "pr-",.
One approach might be to add something like "pull_branch_name_prefix": "{{options.user}}-pr-", and where we set the branch name dynamically add the user name at that point.
@dantewang That is a good use case thanks for bringing it up.
In ~/.gh.json there is a field that we could leverage to do this: "pull_branch_name_prefix": "pr-",.
One approach might be to add something like "pull_branch_name_prefix": "{{options.user}}-pr-", and where we set the branch name dynamically add the user name at that point.
For example, can we make
gh pr 100
fetches the PR on my repo to local branchpr-100
, whilegh pr 100 -u johndoe
fetches the PR on John Doe's repo to local branchjohn-doe-pr-100
?The text was updated successfully, but these errors were encountered: