- 博客(1)
- 收藏
- 关注
转载 本地文件上传git
1、(先进入项目文件夹)通过命令 git init 把这个目录变成git可以管理的仓库git init2、把文件添加到版本库中,使用命令 git add .添加到暂存区里面去,不要忘记后面的小数点“.”,意为添加文件夹下的所有文件git add .3、用命令 git commit告诉Git,把文件提交到仓库。引号内为提交说明git commit -m ‘first commit’4、关联到远程库git remote add origin 你的远程库地址如:git remote add or
2021-12-07 16:03:50
198
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人