建立倉庫,git上傳檔案,Updates were rejected because the tip of your current branch is behind錯誤
錯誤原因:本地沒有README.md這個檔案,而遠端倉庫中有
解決方法:
git pull --rebase origin master
再拉
git push -u origin master
或者強制上傳
git push -u origin master -f