Visual Studio 온라인의 원격 분기가 Visual Studio 2015 팀 탐색기에 나타나지 않습니다.
Visual Studio에서 온라인으로 새 Git 리포지토리를 만들었습니다. 내 컴퓨터에 복제했고 프로젝트에 추가했습니다. 그 후 Visual Studio에서 온라인으로 개발이라는 새 분기를 만들었고 새 로컬 분기를 만들려고 시도했지만 팀 탐색기에 나타나지 않습니다.
그리고 이것은 Visual Studio 2015 팀 탐색기입니다.
팀 탐색기에 개발 분기가 표시되지 않는 이유는 무엇입니까?
이제 Visual Studio에서 동기화 탭 (팀 드롭 다운 메뉴의 동기화)으로 이동하고 상단의 가져 오기를 클릭하여이 작업을 수행 할 수 있습니다 .
I have solved my problem opening a Git Command Prompt (following this instructions), and doing a git fetch
to retrieve the new branch.
I had the exact opposite issue (more or less): I could see the branch in Visual Studio, but it wasn't on the remote server.
Trying to delete it (from remote) yielded this error:
Error encountered while pushing to the remote repository: Git failed with a fatal error. PushCommand.ExecutePushCommand
Here's how to fix it (tested in VS 2017):
- In Visual Studio, double click on your "rogue" remote branch;
- VS should have now created a local branch from it;
- Right click on the local branch, select "Unset remote branch";
- Right click on the local branch, select "Push branch";
- 이제 실제 해당 원격 분기 가 있어야합니다 .
- 원격 분기를 삭제 한 다음 로컬 분기를 삭제하십시오.
이 스레드에서 나와 같은 문제가있는 사람에게 도움이되기를 바랍니다.
'Programing' 카테고리의 다른 글
HTML img 태그 : 제목 속성 대 alt 속성? (0) | 2020.08.17 |
---|---|
사용자의 현지 시간에서 2 시간을 빼는 방법은 무엇입니까? (0) | 2020.08.17 |
모든 프로젝트와 하위 프로젝트의 차이점은 무엇입니까 (0) | 2020.08.16 |
카나리아 릴리스 전략 vs. 블루 / 그린 (0) | 2020.08.16 |
C ++에서 함수에서 벡터를 반환하는 것은 여전히 나쁜 습관입니까? (0) | 2020.08.16 |