發表文章

目前顯示的是有「GIT」標籤的文章

Git commit錯誤, Failed to get unRev file listfatal: unsafe repository

Git commit錯誤, Failed to get unRev file listfatal: unsafe repository 錯誤訊息: Failed to get UnRev file listfatal: unsafe repository ( D./****/****' is owned by someonelse) To add an exception for this directory, call: git config --global --add safe.directoryD:/****/**** Set the enwironment variableGIT TEST DEBUG UNSAFE DIRECTORIES=true and runagain for more information. 可能原因: Git版本更新後, 增加新的資料夾安全限制, 造成進行Git操作找不到git文件 解決方法: 指定資料夾 git config --global --add safe.directory D:/****/**** 全域設定 git config --global --add safe.directory "*"    

Git常用指令

* 查看本地端 brach git branch * 查看Remote brach git branch -r * 同時查看本地端及Remote brach git branch -a * rescan file for update ignore git rm -r --cached . git add . * 建立空的branch git checkout --orphan <branch-name>  git rm --cached -r .                #clean all file

Git/SVN Tortoise 圖示沒有顯示

打開CMD輸入regedit 找到  \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers  把Tortoise文字前加'空白1', 讓名稱顯示在前面 系統預設只會顯示前15個圖示