표시 현재 원격 (이 물론 선택 단계) "your_git_email_id @ youremail"
$ git remote show origin
* remote origin
URL: [email protected]:project.git
Remote branch(es) merged with 'git pull' while on branch master
master
Tracked remote branches
master
은
$ git remote rm origin
$ git remote add origin [email protected]:project.git
$ git remote show origin
* remote origin
URL: [email protected]:project.git
Remote branch(es) merged with 'git pull' while on branch master
master
error: refs/remotes/origin/HEAD points nowhere!
New remote branches (next fetch will store in remotes/origin)
master
마지막 명령으로 표시된 오류에 대해 걱정하지 마십시오 : 우리가해야 할 일은 현재 원점을 제거하고 새로 추가하는 것입니다. 원점에서 첫 번째 풀은 그것을 수정합니다 :
$ git pull
From [email protected]:project.git
* [new branch] master -> origin/master
Already up-to-date.
$ git remote show origin
* remote origin
URL: [email protected]:project.git
Remote branch(es) merged with 'git pull' while on branch master
master
Tracked remote branches
master
나는 어쩌면 THRE 그것을 할 수있는 더 좋은 방법입니다 그러나 이것은 나를 위해 일한 여전히 힘내 신선한입니다.
오랫동안 .git 폴더를 이동하면 확인하십시오. –