提交代碼到Gitee


一 ,進入項目目錄 執行 git init

 

二,執行 git add --all  

 

 

 三,執行  git commit -m "注釋"

 

 四,執行 git remote add origin https://gitee.***.git

 

 五,執行  git push -u origin master -f 

 

 

 

中間會出現 登錄界面

 六 git代碼遷移

git clone --bare 舊的git地址

 

   進入 cd 項目名.git 文件夾 

   

git push --mirror 新的git地址

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM