본문 바로가기
git

[Git] git clone change directory name

by clolee 2024. 1. 3.

git clone 시 repository와 다른 이름의 폴더 생성 후 clone 하기

 

git clone [HTTPS||SSH repositoryURL] [Directory Name]
# example
git clone git@github.com:sferik/sign-in-with-twitter.git signin

 

repositoryURL : clone 할 repository 주소

directory name : repository를 local에 복제할 위치.

 

 

참고 :

https://stackoverflow.com/questions/8570636/change-name-of-folder-when-cloning-from-github

https://www.lainyzine.com/ko/article/git-clone-command/

 

 

 

댓글