1.使用命令行创建本地仓库 (1)在空文件夹中点git bash here (2)输入git init 即创建目录 2.使用图形界面创建本地仓库 (1)一个空文件夹repo1 (2)右键→Git GUI Here (3)选择create new repository