📜  git push origin main 不起作用 - Shell-Bash 代码示例

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

代码示例1
When pushing your code, "main" is the branch name you're pushing to. Check if that's the branch on your github. 
If that doesn't work, you can start from scratch and remove all git instances by running

rm -rf .git

Then start the process all over again and set your branch name to "main" then run "git push origin main"