我通过
在本地创建了一个分支 git checkout -b my_branch
切换到它
git checkout my_branch
然后添加文件
git add files/
git commit -m "ssdf"
然后我想把这些文件作为' my_branch'到服务器
git push origin my_branch
但它没有用,显示如下
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
所以我在网上尝试了一些事情,
git push -u origin my_branch
但没有奏效。