`az repos pr create --open` should publish the branch
See original GitHub issueIs your feature request related to a problem? Please describe.
git push -u $branch $branch
is redundant and tedious
Describe the solution you’d like
Running the command az repos pr create --open
should automatically push the current branch to origin
before continuing with the current behavior. If necessary, it can be implemented conditionally with a --push
or --publish
switch
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Create a pull request to review and merge code - Azure Repos
Create pull requests (PRs) to change, review, and merge code in a Git repository. You can create PRs from branches in the upstream ......
Read more >Pull Requests for Wiki - Visual Studio Feedback
Go to 'Repos' -> 'Branches' and create a new branch. Go to the Wiki page. Select 'Publish new branch' in the branch dropdown;...
Read more >How to manage the full Pull Request process in Visual Studio ...
doing pr create <issue number> to create a branch and a PR based on an existing work item. Our company requires that all...
Read more >Pull Requests | Atlassian Git Tutorial
But a pull request requires either two distinct branches or two distinct repositories, so they will not work with the Centralized Workflow. Using...
Read more >How to Setup Branch Protection Rules in Azure DevOps
In case new changes are pushed, at least one approval should be made on the last iteration. We also strongly recommend restricting the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am not convinced push functionality should be merged in the pr command. User can create aliases or scripts to do this stuff as per custom needs.
@geverghe Please take a look.
At this point, we are maintaining the demarcation of git commands and Azure DevOps command, so we will relook at this feedback in future.