Я пытаюсь git pu sh HEAD, но отображается ошибка: удаленный: репозиторий не найден - PullRequest
0 голосов
/ 06 августа 2020

Я пытался сделать sh свое репо, несмотря на то, что коммиты были изменены на HEAD

(base) apples-MacBook-Pro:Trying to clone notionso note taking app with django and reac apple$ git branch
* (HEAD detached at 7da824b)
  master

, это моя ситуация, когда я получил свою фиксацию в (HEAD detached at 7da824b) вместо master

(base) apples-MacBook-Pro:Trying to clone notionso note taking app with django and reac apple$ git push origin development
error: src refspec development does not match any
error: failed to push some refs to 'https://github.com/aliplutus/Trying-to-clone-notionso-note-taking-app-with-django-and-reac.git'
(base) apples-MacBook-Pro:Trying to clone notionso note taking app with django and reac apple$ git push -u origin master
remote: Repository not found.
fatal: repository 'https://github.com/aliplutus/Trying-to-clone-notionso-note-taking-app-with-django-and-reac.git/' not found
(base) apples-MacBook-Pro:Trying to clone notionso note taking app with django and reac apple$ git push -u origin development
error: src refspec development does not match any
error: failed to push some refs to 'https://github.com/aliplutus/Trying-to-clone-notionso-note-taking-app-with-django-and-reac.git'
(base) apples-MacBook-Pro:Trying to clone notionso note taking app with django and reac apple$ 

это способы, которые я пробовал, и у меня появилась ошибка: Repository not found

error: src refspec development does not match any
error: failed to push some refs to 'https://github.com/aliplutus/Trying-to-clone-notionso-note-taking-app-with-django-and-reac.git'

I treid git push -u origin master and git push -u origin head and git push -u origin HEAD and git push -u origin development

1 Ответ

1 голос
/ 06 августа 2020

Закрыть нужно указать адрес

git push origin HEAD:master
...