Pulling 1 repository
See 'Details' for more information.
Nothing to fetch.
무슨 사유인지 정확히 모르겠지만 가끔 이클립스에서 remote가 사라지는 경우가 있어요.
오류 그대로 fetch가 없다는 뜻이에요.
이런 경우 수동으로 잡아줘야해요.
Git Repository - Properties 클릭
remote에 fetch를 추가해주어야 해요.
open을 클릭하면 IDE에서 .git\config 파일이 열려요.
.git\config
[remote "origin"] 란에 fetch 추가 후에 저장
fetch = +refs/heads/*:refs/remotes/origin/*
혹은
fetch = +refs/heads/*:refs/remotes/{리포지토리명}/*
[core]
symlinks = false
repositoryformatversion = 0
filemode = false
logallrefupdates = true
[remote "origin"]
url = https://github.com/talkplaylove/spring-demo.git
fetch = +refs/heads/*:refs/remotes/spring-demo/*
[branch "master"]
remote = origin
merge = refs/heads/master
rebase = false
'Software > Git' 카테고리의 다른 글
Git Merge 깃 머지 (Feat, 브랜치 생성) (0) | 2020.04.09 |
---|---|
Git Branch 삭제 (local, remote) (0) | 2020.04.01 |
Git 신규 브랜치 체크아웃 (did not match any file(s) known to git) (0) | 2020.03.20 |
Eclipse(이클립스) git remote push (1) | 2019.10.28 |
Eclipse(이클립스) git clone (0) | 2019.10.24 |