赞
踩
情况1 : 本地已经建立好仓库,需要将本地仓库同步至远程仓库
情况2 : 本地没有仓库,可以远端建立仓库后,再git clone到本地使用
情况1
在本地仓库目录下打开terminal
git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/MeggieRong/algorithm-benchmark.git
git push -u origin main
情况2
直接git clone远端仓库到本地使用即可
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。