- create a master folder under /Users/lipan/
- cd /Users/lipan/Master
- git config --global user.url “https://github.com/Li1019/lipython.git”
- git clone https://github.com/Li1019/lipython.git
- URL 是从github上的repository 里copy的
- Master下面有一个lipyton文件夹(lipython文件夹是clone的时候自动生成的。)参考网页:https://zhuanlan.zhihu.com/p/451405031
- 把项目工程文件copy到lipython里
- git add --all
- git commit -m “Initial comment”
- git push origin master
10.OR
git push origin main - If https方式上传出错,那用
- git remote set-url origin git@github.com:zkirkland/Random-Python-Tests.git
- 然后 git push origin main