April 14, 2018
git: 命令行添加项目到 git 仓库, Adding an existing project to GitHub using the command line, 添加项目到 git 空仓库
建立一个新仓库,为了避免错误,直接创建 .gitignore, README.md等文件。 Create a new repository on GitHub. To avoid errors, do not initialize the new repository with README, license, or gitignore files. You can add these files after your project has been pushed to GitHub.
打开终端。Open Terminal.
转换到想要上传的项目目录。Change the current working directory to your local project.
git 初始化。… Read More