初次使用在github或者gitee新建一个仓库进入项目目录初始化(生成.git目录):git init连接远程仓库:git remote add origin http://github.com/仓库地址所有文件加入暂存区:git add
2023-11-14