실패 : 당신은 원격에 대한 퍼팅하는 URL을 변경해야자식 허브 저장소 생성 내가 다음 명령을했으나 실패
> cd SecurityAlert/
> sudo apt-get install git
> git init
> git add .
> git config --global user.email "[email protected]"
> git config --global user.name "user"
> git commit -m "First commit"
> git remote add origin https_link_github.com/user/SecurityAlert
> git push origin master
To https_link_github.com/user/SecurityAlert
! [rejected] master -> master (non-fast-forward)error: failed to push some refs to 'https_link_github.com/sandeepmhptr/SecurityAlert' hint: Updates were
rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
git pull
There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details git pull
If you wish to set tracking information for this branch you can do so with: git branch --set-upstream-to=origin/ master
> git remote add -v
> git remote -v
원격 URL은 git remote add origin입니다. https://github.com/sandeepmhptr/SecurityAlert, 여기 사이트의 일부 문제로 인해 git remote add origin https_link_github.com/sandeepmhptr/SecurityAlert을 작성했습니다. 허용되지 않았습니다. 2 개 이상의 URL이 있습니다. – chinmay
안녕하세요.이 모든 단계를 다시 시도했는데 성공했습니다. – chinmay
좋아요. 리모콘이 이미 초기화 된 것처럼 보입니다. 좀 더 자세한 정보를 답에 추가했습니다. 이것이 도움이되었거나 귀하의 질문에 답변 한 경우 체크 표시 또는 투표에 감사드립니다. – LightCC