git config 配置
config --global user.name "YourName"
git config --global user.email "YourEmail@xxx.com"
git add
git add + 文件名/目录名 命令
git commit
git commit -m "first commit"
连接 GitHub 仓库
push 命令
git push -u origin main
git clone 命令
git clone [url]