git init (初始化仓库)
git add . (添加所有文件到暂存区)
git commit -m '注释内容'
git push (将暂存区的文件内容 上传到远程仓库)
git clone 仓库地址(克隆远程仓库的文件内容)
git remote rm origin (移除当前的仓库的地址)
git remote add origin https://xxx.git (关联仓库地址. 关联前需要确保 当前文件没有关联的仓库)
git init (初始化仓库)
git add . (添加所有文件到暂存区)
git commit -m '注释内容'
git push (将暂存区的文件内容 上传到远程仓库)
git clone 仓库地址(克隆远程仓库的文件内容)
git remote rm origin (移除当前的仓库的地址)
git remote add origin https://xxx.git (关联仓库地址. 关联前需要确保 当前文件没有关联的仓库)