Manually add context menu no Git Bash Here

 Xiao Bian computer is a problem, then reinstall the system, installed after the git bash here right found no command, then implemented manually add a command line

The first step to open the WIN + R cmd command line, type 'regedit', open the registry

Step into the [HKEY_CLASSES_ROOT \ Directory \ Background]

 

The third step in the [shell] Right under - New Item [open in git] (name any, but it is better git bash here)

 Set its value to "Git Bash Here", this name is displayed context menu.

      Right-click on the mouse will be able to see Git Bash Here, but not associated with a program that is now no practical effect

In the fourth step [open in git] lower right - New - Item [command], a value of "git install root \ bin \ bash.exe" --login -i

The fifth step and the first time in order to install the same right to see a small icon in Git.

Right-click the open in git - New - String Value, entitled Icon, which is right edit " Git install root \ mingw64 \ Share \ Git \ Git-for-windows.ico ."

The final directory structure:

 

 Well, according to the above operation're done!

Guess you like

Origin www.cnblogs.com/ql123456/p/12119135.html