#初始化
git init
#添加文件到暂存区
git add *
#将暂存区内容添加到仓库中
git commit -m
#远程连接
git branch -M main 让本地的仓库也是main,可以直接push
git remote -v 查看连接的哪个仓库
git remote add origin ... 连接仓库
#push
git push -u origin main
#初始化
git init
#添加文件到暂存区
git add *
#将暂存区内容添加到仓库中
git commit -m
#远程连接
git branch -M main 让本地的仓库也是main,可以直接push
git remote -v 查看连接的哪个仓库
git remote add origin ... 连接仓库
#push
git push -u origin main