{"componentChunkName":"component---src-templates-blog-post-js","path":"/etc./vscode_github_not_working/","result":{"data":{"site":{"siteMetadata":{"title":"Progress Not Perfection","author":"Sunmin","siteUrl":"https://sunmin.netlify.com","comment":{"disqusShortName":"","utterances":"Sunmin0520/blog"}}},"markdownRemark":{"id":"edd3b209-616c-50a1-afeb-c1f0fb5eeaf7","excerpt":"문제 상황 VS code에서 github repo와의 연결이 끊기며, unstaged 상태인 파일들의 목록을 볼 수 없다. 끊겼던 계기 PATH 수정 github repo 이름 변경에 따라 로컬에서도 디렉토리 이름 및 remote origin 변경   Initiailize Repository 버튼은 비활성화되어 눌러도 아무 반응이 없고, 좌측 하단의 user 버튼 ‘Loading…’이라고만 나오며 아무 것도 나오지 않는다.   vs code…","html":"<h2 id=\"문제-상황\" style=\"position:relative;\"><a href=\"#%EB%AC%B8%EC%A0%9C-%EC%83%81%ED%99%A9\" aria-label=\"문제 상황 permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>문제 상황</h2>\n<ul>\n<li>VS code에서 github repo와의 연결이 끊기며, unstaged 상태인 파일들의 목록을 볼 수 없다.</li>\n<li>\n<p>끊겼던 계기</p>\n<ul>\n<li>PATH 수정</li>\n<li>github repo 이름 변경에 따라 로컬에서도 디렉토리 이름 및 remote origin 변경  </li>\n</ul>\n</li>\n<li>Initiailize Repository 버튼은 비활성화되어 눌러도 아무 반응이 없고, 좌측 하단의 user 버튼 ‘Loading…’이라고만 나오며 아무 것도 나오지 않는다.  </li>\n<li>vs code를 껐다가 켜는 것으로는 해결되지 않았다. </li>\n</ul>\n<br/>\n<img src=\"https://user-images.githubusercontent.com/79896443/153862963-7712b2f3-4a79-4cec-b55f-607e19f06b75.png\" width=\"260\">\n<h2 id=\"해결-방법\" style=\"position:relative;\"><a href=\"#%ED%95%B4%EA%B2%B0-%EB%B0%A9%EB%B2%95\" aria-label=\"해결 방법 permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>해결 방법</h2>\n<ul>\n<li>위와 같은 상태라면 Code 탭에 ‘Restart to update’라는 기능이 활성화된다.<br>\n클릭하면 모든 vs code창이 꺼졌다가 켜지면서 다시 repo와 연결이 되고, ‘Restart to update’기능은 아래 이미지와 같이 사라져 있다.</li>\n<li>찾아보다가 해결방법이 안 나와서 컴퓨터를 껐다 켰을 때에도 동일하게 정상 작동하기 시작했는데, VS Code가 완전히 꺼졌다가 켜짐으로써 가능했던 것으로 예상된다.</li>\n</ul>\n<br>\n \n<img src=\"https://user-images.githubusercontent.com/79896443/153862967-eb2ff3a1-0beb-42be-88d4-21569c581654.png\" width=\"249\" align=\"center\">","frontmatter":{"title":"[기타] VS Code에서 github repo와의 연결이 끊겼을 때","date":"February 14, 2022"}}},"pageContext":{"slug":"/etc./vscode_github_not_working/","previous":{"fields":{"slug":"/Retrospective/2022/Feb/13th/"},"frontmatter":{"title":"[일기] 2월 13일","category":"retrospective","draft":false}},"next":{"fields":{"slug":"/CS/execution_not_working/"},"frontmatter":{"title":"[CS] 파일 권한 문제로 command not found가 나올 때 ","category":"cs","draft":false}}}},"staticQueryHashes":["3128451518","521680639"]}