Nikstorma
@Nikstorma
Ищу компаньона - веб-разработчика

Не удается создать удаленный репозиторий git?

Пытаюсь создать репозиторий на гитхабе, вот что получаю:
**** MINGW64 /c/test_rep (master)
git init

git add .
warning: LF will be replaced by CRLF in .bowerrc.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in css/fonts.css.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in css/main.css.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in css/media.css.
The file will have its original line endings in your working directory.
git commit -m "first commit"
[master (root-commit) 10dcc1e] first commit
warning: LF will be replaced by CRLF in .bowerrc.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in css/fonts.css.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in css/main.css.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in css/media.css.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in index.html.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in js/common.js.
git remote add origin https://github.com/ni*****/test_rep.git

git push -u origin master

remote: Repository not found.
fatal: repository 'https://github.com/ni*****/test_rep.git/' not found

Что я не так делаю?
  • Вопрос задан
  • 3340 просмотров
Пригласить эксперта
Ответы на вопрос 1
@spotifi
Если по ключу - то у тебя не правильно указан URL, должен быть git@github.com:/ni*****/test_rep.git.

А вообще схема обратная.
Ты сначала создаешь на GitHub пусто репозиторий. А потом к нему подключаешься. Это проще всего.
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы