文件夹copy到桌面
创建一个新的github repo
从tabby cd到这个copy文件目录
git init
git add .
git status
git commit -m"Initial commit"
git branch -M main
git remote add origin <https://github.com/dadaocao/TechLog-webapp.git>
git push origin main //这一步报错了,尝试了增加git缓存空间:
git config http.postBuffer 524288000 //还是不行,换到了web storm里尝试ctrl k,也不行(因为已经commit了),最后是在web storm里的命令行 敲git push origin main才好的。
到这一步,本地工程文件就push到远端了。
如上图(不要着急save!!!等下面配完再说),github-sett