question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`az repos pr create --open` should publish the branch

See original GitHub issue

Is 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:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
atbaggacommented, Apr 22, 2019

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.

0reactions
snankanicommented, May 23, 2019

At this point, we are maintaining the demarcation of git commands and Azure DevOps command, so we will relook at this feedback in future.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found