📌  相关文章
📜  github 将初始化存储库保存到远程 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:48.030000             🧑  作者: Mango

代码示例1
# Sets the new remote you'll need to create this repo on github first
git remote add origin https://github.com/yourusername/yourprojectname 
git branch -M main # Creates a branch
git push -u origin main # pushes the files to the repo