unzip <repo>.zip
cd <repo>
git init
git add .
git remote add origin https://github.com/<user>/<repo>.git
git remote update
git checkout master
参考:https://stackoverflow.com/questions/15681643/how-to-clone-git-repository-from-its-zip
unzip <repo>.zip
cd <repo>
git init
git add .
git remote add origin https://github.com/<user>/<repo>.git
git remote update
git checkout master
参考:https://stackoverflow.com/questions/15681643/how-to-clone-git-repository-from-its-zip
本文标题:github下载的zip如何与远程仓库建立关联-How to c
本文链接:https://www.haomeiwen.com/subject/qyleaktx.html
网友评论