【发布时间】:2020-01-20 00:59:22
【问题描述】:
我知道我的问题看起来与某些问题相似,但我认为我的问题可能是新问题。
$ git init # Make a new repository
$ git add -A # Add all the files which have not been added
$ git commit -m "Initialize repository"
$ git push origin master -f
我的问题是,当我命令git push origin master -f 时,它显示了这个错误:
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
你能给我一些想法吗?
【问题讨论】:
-
你希望
git push命令做什么? -
您需要设置原始网址 例如:
git remote add origin https://github.com/suhailvs/django-schools/
标签: git