-
iDEA創(chuàng)建新標簽
image.png
image.png
- IDEA刪除標簽
刪除本地標簽命令
git tag -d v1.0.1
刪除遠程標簽命令
git push origin :refs/tags/v1.0.1
- fatal: Authentication failed for不彈出用戶名和密碼輸入框的解決辦法
各位,如果能彈輸入賬號密碼框出來,一定是你賬號密碼搞錯了,就別繼續(xù)看了。

切換命令行:

依然報錯,
說到這個問題,又可以長篇大論了, 我使用的是tortoisegit,window電腦
平常都是用ppk文件組合 `_netrc`文件進行登錄的,這樣設置之后基本上只需要輸入密碼,不再需要輸入用戶名就可以上傳更新,要節(jié)省不少時間
`_netrc`文件可以自己搜索在`C:\Users\Administrator\%username%\_netr`下 內容如下:
machine git.oschina.net
login 6948886526@qq.com
password xxxxxxx
machine git.coding.net
login qssq
password xxxxx
machine github.com
login qssq
password xxxxxx
machine github.com
login xxxxx
弊端呢,就是一個github網站沒法切換多個賬號,我研究過`hosts`別名實現,發(fā)現并不能,另外開源中國的話應該可以,他現在有多個域名,
,github我用`nsloop`只看到綁定了一個域名
算了不長篇大論了,
如果刪除上面的信息然后切換為https登錄輸入賬號密碼。非ssh方式登錄了,,還是不頂用就看看下面的。
出現上面的原因大概是開源中國創(chuàng)建團隊賬號導致的問題,解決方法刪除上面的內容也沒啥用了.
網上說了一些方法發(fā)現幾乎沒啥用,比如重置右鍵密碼
或者
git remote -v
git remote remove origin
git remote add origin xxx
或者
git config -–global user.name "xxx"
git config –-global user.email "xxx@xxx.com"
那么到底如何解決
git.exe fetch -v --progress "origin"
fatal: Authentication failed for 'https://gitee.com/qssq666/xxxxxx.git/'
解決方法如下:
git config --system --unset credential.helper
然后就終于可以重新填寫用戶名和密碼進行提交了。

如果還是不行,我又發(fā)現了一個方法,大塊.gitconfig 然后刪除
[user]
name = luozheng
email = qssq666@foxmail.com
[credential]
helper = manager
改成
[user]
name = luozheng
email = qssq666@foxmail.com
也就是刪除
[credential]
helper = manager
就又可以出現了,全部刪除會出現毛病。雖然能彈出但是有其他錯誤。
###參考文檔
---
https://www.cnblogs.com/lmaplet/p/9672350.html
http://www.lxweimin.com/p/8a7f257e07b8