4

Git Pull Request Deep Links in Visual Studio

 3 years ago
source link: https://dailydotnettips.com/git-pull-request-deep-links-in-visual-studio/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Git Pull Request Deep Links in Visual Studio

Visual Studio now has integrated deep links for the git pull request. GitHub experiences in Visual Studio are now more integrated and seamless. With the recent updates, Visual Studio introduced several great features for Git Integration. Starting from adding both GitHub and GitHub Enterprise accounts, you can  Switch between repositories very easily. One more important perspective is to access Git Pull Request either you want to create a pull request or view a pull request. Git Menu has the link for both creating and viewing a git pull request. It will make it easier to access the PRs.

Git Pull Request Deep Links

To access the “New Pull Request” or “View Pull Request” from the main “Git” menu, navigate to “GitHub” .

Git Pull Request Deep Links in Visual Studio

Related Tip: Switch between Git repositories and branches seamlessly in Visual Studio

Once you click on New Pull Request, it will take you to the Pull Request creation screen. The New Pull Request option will be disabled if there are no active merge changes for PR.

Git Pull Request

Similarly, for the “View pull requests” the deep link will take you the respective list of all pull request for the git.

Related Tip : How to view the list of all local Git Repositories in Visual Studio?

Context Sensitive Navigation

As we switch between branches and repository the context for deep link changes and it always set into the current context of the selected repository and the branch.

Git Pull Request Deep Links - Context Sensitive Navigation

Most importantly, The Git Pull Request Deep Links in Visual Studio are dynamic based on whether your repository is on GitHub or Azure DevOps. It will take you to the respective PR screen, depends on the repository.

Well, again the links are for easy and quick access. You can still create pull requests from the respective branches from the Manage Branges or Git Explorer.

Pull Request from Branch

DON'T MISS OUT!
Subscribe To Newsletter For your Daily Development Tips and Tricks  

 Best Tips & Tricks on Microsoft Technology Platform 

We promise not to spam you. You can unsubscribe at any time.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK