From the course: Visual Studio Tips and Techniques for Developers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Add keyboard shortcuts for Git commands - Visual Studio Tutorial
From the course: Visual Studio Tips and Techniques for Developers
Add keyboard shortcuts for Git commands
- [Instructor] Visual Studio 2019 has this new Git menu. It has most of the common Git operations like Commit or Stash, Pull, Push, adding new branches, and so on. This is a nice addition, this menu but it has one shortcoming, at least for me. I like using keyboard shortcuts and there aren't many available. I only see one for Commit, Ctrl + 0, Ctrl + G. One of the operations I perform a lot is Pull, so let's look at how to add a keyboard shortcut. If you're not familiar with creating your own keyboard shortcuts, you're in the right place. First step, is to go to Tools, Options. And we'll search for keyboard. (typing) Here it is, environment keyboard. And then, I'm going to look for Pull. (typing) This shows all the commands that are available in Visual Studio. I filtered it down to the commands that contain the word pull, and I see there's GitHub Pull Request, Git Pull, Git Pull Selection, and the one I want is…
Contents
-
-
-
Solution filters for customized project loading3m 29s
-
(Locked)
Get a filtered file view in Solution Explorer2m 36s
-
(Locked)
Solution Explorer and Scope to This2m 25s
-
(Locked)
Add keyboard shortcuts for Git commands1m 57s
-
(Locked)
Customize the editor for a given file extension2m 56s
-
Sort and group your files with vertical tabs3m 10s
-
(Locked)
Extension: Text generator2m 26s
-
(Locked)
Extension: Code converter (VB to C#)4m 11s
-
(Locked)
Duplicate lines of code2m 8s
-
(Locked)
Browse the application in multiple browsers2m 48s
-
(Locked)
Better output window with the MetaProject extension5m 36s
-
(Locked)
Preview image and data files with the MetaProject extension4m 20s
-
-