原文:使用git commit命令時會提示"Please tell me who you are"

在命令行中輸入 ...

2019-10-02 21:27 0 738 推薦指數:

查看詳情

執行git commit命令提示: “Please tell me who you are”的解決方案

#事故現場 執行git commit命令提示:"Please tell me who you are" 意思是,Git想知道提交代碼的是誰,造成這個現象的原因可能是第一次提交代碼,也有可能是長時間不操作,需要重新驗證下。 #解決方案 在Git控制台輸入一下命令 再次執行git ...

Mon Jun 22 23:36:00 CST 2020 0 1552
git提示 please tell me who you are

提示也就是需要你登錄一下,確認你的身份,但是不要按照其提示輸入,先輸入命令git config user.name “username”,換行輸入git config user.email “email” 輸入正確的之后就能使用 git add 、commit命令進行版本控制了 ...

Wed Apr 03 22:33:00 CST 2019 0 574
git pull提示You are not currently on a branch. Please specify which

  在想拉取最新的git代碼時提示要輸入遠端分支。具體提示見以下:      這里的原因是因為不在master分支,在tag或者其它分支上。使用git branch查看,目前在一個tag上。   這里解決方式有2種。   或者更簡單的方式,直接指定分支 ...

Thu Oct 21 20:03:00 CST 2021 0 5540
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM