Guest User

Untitled

a guest
Nov 17th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. ## 解决
  2.  
  3. 首先确定目录是否一致。
  4.  
  5. 目录一致时,将一下代码存成xxx.reg格式的文件,双击执行即可。
  6.  
  7. ```
  8. Windows Registry Editor Version 5.00
  9. [HKEY_CLASSES_ROOT\Directory\Background\shell\open in Git]
  10. @="Git Bash Here"
  11. [HKEY_CLASSES_ROOT\Directory\Background\shell\open in Git]
  12. "Icon"="C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico"
  13. [HKEY_CLASSES_ROOT\Directory\Background\shell\open in Git\command]
  14. @="\"C:\\Program Files\\Git\\bin\\bash.exe\" --login -i"
  15.  
  16. [HKEY_CLASSES_ROOT\Directory\Background\shell\GIT GUI]
  17. @="GIT GUI here"
  18. [HKEY_CLASSES_ROOT\Directory\Background\shell\GIT GUI]
  19. "Icon"="C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico"
  20. [HKEY_CLASSES_ROOT\Directory\Background\shell\GIT GUI\command]
  21. @="C:\\Program Files\\Git\\cmd\\git-gui.exe"
  22. ```
Add Comment
Please, Sign In to add comment