需要安装git git下载地址:https://git-scm.com/downloads github官网:https://github.com/ 新建flask项目 初始化本地git仓库 连接git远程仓库 输入git地址 安装.ignore插件并新建.ignore