git change remote branch1 현재 branch의 Remote 서버 변경하기 remote 서버 등록하기 git remote add [이름] [실주소] (ex) $ git remote add TestRemote 192.168.0.1:/git/TestRemote.git 현재 branch 의 remote 서버를 redirect하기 현재 repository 의 최상단으로 이동하면 .git/config 라는 파일이 있다. 이 파일을 연다. 내가 현재 있는 branch 이름을 "MyBranch", 연결할 Remote branch 를 TestRemote 라고 하면 아래와 같이 되어 있을수도(설정값이 다를수도 있다. 그냥 있다는데에 의의를 두자.) 있고 아얘 없을 수도 있다. [branch "MyBranch"] remote = origin merge = refs/heads/MyBranch 이것.. 2010. 4. 8. 이전 1 다음