sourcetree 를 사용중에 fetch가 안되는 현상이 발생했다 ㅇㄴ
초기에는 stack overflow를 참고하여 시도하였다
1. git gc --prune=now
INPUT>git gc --prune=now
error: bad ref for .git/logs/refs/remotes/origin/Dev
fatal: bad object refs/remotes/origin/Dev
FAIL
2.
INPUT>mv .git/refs/remotes/origin/HEAD /tmp
INPUT> git gc
fatal: bad object refs/remotes/origin/Dev
error: failed to run repack
FAIL
3.
INPUT> git remote set-head origin --auto
origin/HEAD set to master
INPUT> git gc
fatal: bad object refs/remotes/origin/Dev
error: failed to run repack
FAIL
그러다가 이건 아니다 싶어서 추가적인 구글링을 통해 나와 같은 증상이신 분을 찾았다
4.
INPUT> rm .git/refs/remotes/origin/dev
INPUT> git fetch
From https://dev.azure.com/***/_git/***
* [new branch] Dev -> origin/Dev
SUCCESS
-방끗-
---
ref
---
https://burning-camp.tistory.com/20