pytest测试实战 (如何使用pycharm 上传代码到远程仓库)
代码 --->本地的git仓库 --->远程的git仓库
1. 右击 open in terminal

2. 使用 git init

3. 点击commit

4. 可以将部分文件(比如.idea 和 venv)添加到 .gitignore

5.新建一个仓库

6. 添加remote仓库

7. 点击push

代码 --->本地的git仓库 --->远程的git仓库
1. 右击 open in terminal

2. 使用 git init

3. 点击commit

4. 可以将部分文件(比如.idea 和 venv)添加到 .gitignore

5.新建一个仓库

6. 添加remote仓库

7. 点击push
