python UI自动化3- pycharm中配置Git
2018-08-24 本文已影响39人
太阳当空照我要上学校
1. 首先下载并安装Git
2. pycharm 中配置Git
打开 file-> setting-> Version Control-> Git,添加"path to Git executable"
如下图所示,添加Git安装目录下git.exe

3. 在pycharm中新建project "Pica_Saas",并编写脚本
4. 在GitHub上也新建一个 创库,且名称为 "Pica_Saas"
5. pycharm中提交代码到GitHub
如下下图,可选择项目右键 - Git,将代码提交
或者使用命令:git add、git commit -m、git pull .....

6. 提交成功后,可登陆GitHub账号查看提交记录
7. 从GitHub上拉取代码
如下图所示:
配置地址后,点击clone,可拉取项目代码

