programming/GIT

원격(remote)저장소 확인하기

헤써니 2019. 11. 12. 11:50

git remote 명령어를 사용하면 현재 프로젝트에 저장된 리모트 저장소들을 모두 확인할 수 있습니다.

-v 옵션을 주면 단축이름과 URL을 함께 확인할 수 있습니다.

➜  ddunny.github.io git:(master) git remote
origin
➜  ddunny.github.io git:(master) git remote -v
origin  https://github.com/ddunny/ddunny.github.io.git (fetch)
origin  https://github.com/ddunny/ddunny.github.io.git (push)