問題
配置Git Bash狸棍,使它對大小寫敏感身害。出現提示:fatal: not in a git directory,如下圖所示隔缀。
image.png
參考方法:
第一次使用git题造,在設置郵箱的時候報錯了。
說是沒有這個目錄猾瘸。我的情況比較簡單界赔,是因為我沒有將當前目錄作為git目錄。
先執(zhí)行命令 git init 牵触。
再執(zhí)行git config user.email “email@test.com” 就可以了淮悼。
參考博文 https://blog.csdn.net/Esc_Tab_End/article/details/84144063
我的問題解決
image.png
image.png