1,“git init” 进入工程文件夹内,右击,使用命令行操作“Git Bash Here” 进入命令界面,输入“git init” ,之后退出 2,第一次使用,将所有文件添加到本地库中。 3,以后使用,进行提交