1:Git提交忽略自動忽略文件或者文件夾
地址:https://www.cnblogs.com/youyoui/p/8337147.html
2:如何解決failed to push some refs to git
1-1:出錯原因:
出現錯誤的主要原因是github中的README.md文件不在本地代碼目錄中
1-2:問題解決:
第一步:進行代碼合併
git pull --rebase origin master
第二步:進行代碼上傳
git push -u origin master
3: Idea刪除Git元數據信息
1:打開菜單:Preferences --> Version Control
選中項目,刪除
2:刪除Version Control下的Git信息
3:進行項目中刪除git的隱藏的文件夾
4:重新創建git的元數據信息
4:如何導入新的git項目
http://yourname:[email protected]/name/project.git
yourname:你的git用戶名
password:你的git登錄密碼