github下载的zip如何与远程仓库建立关联-How to c
2021-01-12 本文已影响0人
OoYoO
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