mac@MacBook-Air front % git reset --hard HEAD
git pull
HEAD is now at 5f99e3a Merge branch 'fix_datePicker' into develop
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 <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> 0801012
테스트 요청으로 로컬 서버에서 테스트 후 저장소를 초기화 하려다가 발생한 현상
mac@MacBook-Air front % git reset --hard HEAD
git pull develop
HEAD is now at 5f99e3a Merge branch 'fix_datePicker' into develop
fatal: 'develop' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
mac@MacBook-Air front % git reset --hard HEAD
git pull origin 0801012
HEAD is now at 5f99e3a Merge branch 'fix_datePicker' into develop
From http://gitlab.io/프로젝트명
* branch 0801012 -> FETCH_HEAD
Already up to date.
mac@MacBook-Air front % git reset --hard HEAD
git pull origin develop
HEAD is now at 5f99e3a Merge branch 'fix_datePicker' into develop
From http://gitlab.io/프로젝트명
* branch develop -> FETCH_HEAD
Updating 5f99e3a..b707b3d
Fast-forward
디폴트로 사용 중인 원격 브랜치 origin develop을 당겨온다.
저장소 origin 확인 할 것!