解決提交到github報錯Please tell me who you are.和為不同的專案設定不同的名稱
今天博主正在愉快地學習在AndroidStudio中使用Git,正看著這篇文章http://www.mamicode.com/info-detail-512945.html眼看就要成功了,結果報了下面這個錯∑(っ°Д°;)っ:
Can't finish GitHub sharing process
Successfully created project 'Test' on GitHub, but initial commit failed:*** Please tell me who you are. Run
git config --global user.email "[email protected]
看了一下原來是git沒有配置的原因,找到git目錄下的Git Bash執行,輸入下面兩行程式碼即可(什麼鬼居然還要命令列配置,就不能做個某Q登入那樣的介面一登入就好了麼!或者是明明有其他的配置方式但是博主不知道∑(っ°Д°;)っ
- git config --global user.email "[email protected]"
- git config --global user.name "Your Name"
--------------------------------------2016/08/30--------------------------------------
上面的方法配置的是全域性的使用者名稱和郵箱!就是說如果沒有單獨為專案配置,那提交的所有專案全部都是這個名字和郵箱!不管是公司專案還是github,還是碼雲!很蛋疼有木有,當碼雲提交記錄上出現我名字的時候我都驚呆了!
單獨為專案配置的方法(全域性和單獨配置都存在的時候會預設使用專案單獨配置的):
1.開啟專案所在目錄,找到隱藏的.git資料夾。注意這個資料夾是隱藏的,顯示隱藏出來就行。
2.開啟資料夾裡的config檔案,推薦用nodepad++開啟。
3.新增這三行到檔案:
[user]
name = XXX(自己的名稱)
email = XXXX(郵箱)
當然也可以通過命令列的方式,只需要在 .git 資料夾下。 例如執行如下命令:
git config user.name "xxxxx"
相關推薦
解決提交到github報錯Please tell me who you are.和為不同的專案設定不同的名稱
今天博主正在愉快地學習在AndroidStudio中使用Git,正看著這篇文章http://www.mamicode.com/info-detail-512945.html眼看就要成功了,結果報了下面
提交到github報錯Please tell me who you are
global bject config count tel xxx hub his 所在 *** Please tell me who you are. Run git config --global user.email "[email protected]"
git Please tell me who you are解決方法
OS nbsp ESS def tor XA con mep email 在git創建項目時出現,是因為在創建git文件夾的時候信息不完善導致的下圖是正確在git創建項目時出現,是因為在創建git文件夾的時候信息不完善導致的下圖是正確1.git init2.git conf
使用git commit 命令提交跟蹤的新檔案時 提示 *** Please tell me who you are.
這是我第一次在碼雲上參與的第一個專案,首先呢肯定要測試一下,提交程式碼的流程是否順利,結果那是肯定的,處處是個坑,當我使用git commit命令 提交已經跟蹤的新檔案 test時,提示 : 如下圖
git commit -m "wrote a readme file" *** Please tell me who you are.xxx
-m commit file 技術 mage logs eas .com 分享 剛使用git的小白,提交到倉庫報錯,原來是沒有配置用戶名和email。配置完成即可! OK!git commit -m "wrote a readme file&qu
git *** Please tell me who you are.錯誤
please 如果 src clas xxx con email jpg 圖片 如果使用git過程中出現了,please tell me who you are ,需要設置一下使用者的身份。 1.git config user.name "username"
Nginx報錯:Sorry, the page you are looking for is currently unavailable. Please try again later.
cgi pre static 排除 filename 就是 不能 code please 查看了進程, nginx, php-fpm都在運行, 排除程序錯誤, 那麽就是配置的問題了. 一個可能的錯誤, 是由於配置中的 fastcgi_pass 配置錯了 錯誤的配置如下
linux筆記:Nginx報錯:Sorry, the page you are looking for is currently unavailable. Please try again later
文章目錄 前言 判斷 總結 前言 報錯如圖。 判斷 經分析,發現是php-rpm未安裝好。 安裝PHP。 1、依次執行以下命令,安裝PHP 7和一些所需的PHP擴充套件。 rpm -Uvh https://mirror.w
MySQL Workbench批量修改資料報錯:Error Code: 1175. You are using safe update mode and you tried to update a t
批量修改資料SQL:update sys_menu set menu_extralink = true 錯誤資訊: Error Code: 1175. You are using safe update mode and you tried to upd
解決上傳到github報錯Successfully created project 'autotest' on GitHub, but initial commit failed:
.com auto efault oba core ted config use body 通過IDEA上傳代碼到GitHub上可是有時候會碰到這樣的問題。 當我們選擇VCS->Import into Version Control->Share Project
解決php編譯報錯configure: error: mcrypt.h not found. Please reinstall libmcrypt.
clas fig ati libmcrypt conf data -s blog bmc yum install -y epel-releaseyum install -y libmcrypt-devel 解決php編譯報錯configure: error: m
IntelliJ cannot log in to GitHub上傳github報錯解決
dea cati hub 報錯解決 ima 生成 valid 本地 png 重裝系統,新裝的Intellij IDEA上新建的項目上傳github失敗,報錯: invalid authentication token 。。。 此處多為本地git用戶的用戶名/郵箱
解決上傳程式碼到GitHub報錯Push rejected: Push to origin/master was rejected
最近在 push 程式碼到 github 時,IDEA報錯 Push rejected: Push to origin/master was rejected 在網友找了一圈,發現都不是想要的答案 於是在命令列敲了一遍 git push,報錯資訊如下 remote: error: GH007: You
Maven報錯Please ensure you are using JDK 1.4 or above and not a JRE解決方法!
https://www.cnblogs.com/shihua513/p/6163682.html 在eclipse下用maven編譯時,很有可能出現以下錯誤: Please ensure you are using JDK 1.4 or above andnot a JRE (the co
Gradle build報錯 Please correct the above warnings first解決方案
你也可以檢視我的其他同類文章,也會讓你有一定的收貨問題描述:在編譯的時候,出現了下面的錯誤提示Warning: there were 2 unresolved references to library class members. You proba
Git提交到GitHub報錯:Updates were rejected because the remote contains work that you do not have locally
轉自:https://blog.csdn.net/u011284073/article/details/81609707 在使用Git將本地專案上傳到GitHub上時,鍵入命令: git push -u origin master 報錯提示:Updates were reject
解決“PyCharm報錯:Please specify a different SDK name”(win10)
一、問題描述 新建專案之後檢視直譯器,發現跟cmd的pip list命令看的不同。如下第一張圖: 可是我想換個虛擬環境時,又報錯如第二張圖: 二、問題分析 雖然選擇了虛擬環境,但是PyCharm是使用預設設定來建立工程,所以每個工程都建立了自己獨立
linux下使用svn提交程式碼報錯解決辦法
問題一: [[email protected] src_serverMachine]# svn ci svn: E205007: 提交失敗(細節如下): svn: E205007: 無法使用外部編輯器獲得日誌資訊;考慮設定環境變數 $SVN_E
推送GitHub報錯 fatal: Out of memory, malloc failed 解決辦法
倉庫 span .com 報錯 nbsp locate memory img 遠程 現象: 推送GitHub時,出現如下報錯 fatal: Out of memory, malloc failed (tried to allocate XXXXXX bytes)erro
解決 service iptables save 報錯 please try to use systemctl
本文件根據 service iptables save 報錯 please try to use syst