記錄遇到的git bash here 無法使用問題

2022-07-09 16:48:09 字數 443 閱讀 8137

環境:win10

git bash version 2.18.0

問題:突然有一天郵件選單中的git bash here 和 git gui here 無法使用,提示使用者沒有許可權,請使用管理員許可權執行(忘記截圖了。。。)

貌似是windows can't access to specified directory...

然後晚上找了半天,看到有人說是登錄檔的問題

然後自己嘗試著修改了登錄檔裡的路徑(開啟登錄檔  ctrl+r 輸入regedit 回車),結果就可以用了。。。

找到git_gui, git_shell 下的command,修改其對應的data,寫上具體的對應exe路徑,儲存

挺無語的,不知道為什麼會有這個情況

記錄程式設計遇到的錯誤

1.error intptr t was not declared in this scope a adds include 未解決 b intptr t 等在io.h 中定義,在linux下本來就沒有,所以不可用。linux下 include 實現遍歷目錄。參考 2.error system wa...

記錄前端遇到的坑

time and tide waits for no man.html是sgml的子集,sgml允許標籤沒有結束標籤,而換行符元素正好不需要內嵌元素,也就不需要結束標籤。所以在html中,應該寫成 因為html規範本身的不嚴謹,所以後來參考了更規範的xml語言的語法推出了xhtml。xhtml是xm...

記錄安裝 Cocoapods 遇到的問題

公升級10.11.1以後發現 cocoapods 不能用了,上網查了一下資料,說是系統公升級以後要這樣安裝 sudo gem install n usr local bin cocoapods 好吧安裝以後又出現這個問題 usr bin git clone master depth 1 clonin...