"Git clone"의 두 판 사이의 차이

(새 문서: ==개요== ;git clone ;깃 클론 * 원격저장소를 로컬디렉토리로 복제하는 git 명령어 <source lang='bash'> git clone 깃주소 </source> ==실행예시== <sou...)
 
잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 5명의 중간 판 11개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{소문자}}
==개요==
==개요==
;git clone
;git clone
4번째 줄: 5번째 줄:
* 원격저장소를 로컬디렉토리로 복제하는 [[git 명령어]]
* 원격저장소를 로컬디렉토리로 복제하는 [[git 명령어]]
   
   
<source lang='bash'>
<syntaxhighlight lang='bash'>
git clone 깃주소
git clone 깃주소
</source>
</syntaxhighlight>
 
* 사용자명을 함께 지정 할 경우
<syntaxhighlight lang='bash'>
git clone 사용자명@호스트:/폴더/경로
</syntaxhighlight>


==실행예시==
==실행예시==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# git clone https://github.com/gnuboard/gnuboard5.git
root@zetawiki:~# git clone https://github.com/gnuboard/gnuboard5.git
Cloning into 'gnuboard5'...
Cloning into 'gnuboard5'...
17번째 줄: 23번째 줄:
Resolving deltas: 100% (1639/1639), done.
Resolving deltas: 100% (1639/1639), done.
Checking connectivity... done.
Checking connectivity... done.
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# ll | grep gnuboard5
root@zetawiki:~# ll | grep gnuboard5
drwxr-xr-x  15 root  root  4096 May  8 16:50 gnuboard5/
drwxr-xr-x  15 root  root  4096 May  8 16:50 gnuboard5/
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[git 명령어]]
* [[git clone 지정한 폴더명 사용]]
*[[hg clone]]
* [[git clone 예전 버전 가져오기]]
*[[svn checkout]]
* [[git clone 특정 릴리즈 가져오기]]
*[[composer create-project]]
* [[git clone --depth]]
* [[git clone --recursive]]
* [[git 명령어]]
* [[hg clone]]
* [[svn checkout]]
* [[composer create-project]]


==참고 자료==
==참고==
* https://git-scm.com/docs/git-clone
* https://git-scm.com/docs/git-clone
* [https://www.lainyzine.com/ko/article/git-clone-command/ git clone 사용법: 원격 Git 저장소 복제]


[[분류; Git]]
[[분류: Git]]

2021년 4월 27일 (화) 02:15 기준 최신판

1 개요[ | ]

git clone
깃 클론
  • 원격저장소를 로컬디렉토리로 복제하는 git 명령어
git clone 깃주소
  • 사용자명을 함께 지정 할 경우
git clone 사용자명@호스트:/폴더/경로

2 실행예시[ | ]

root@zetawiki:~# git clone https://github.com/gnuboard/gnuboard5.git
Cloning into 'gnuboard5'...
remote: Counting objects: 3609, done.
remote: Total 3609 (delta 0), reused 0 (delta 0), pack-reused 3609
Receiving objects: 100% (3609/3609), 7.49 MiB | 1.55 MiB/s, done.
Resolving deltas: 100% (1639/1639), done.
Checking connectivity... done.
root@zetawiki:~# ll | grep gnuboard5
drwxr-xr-x  15 root  root   4096 May  8 16:50 gnuboard5/

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}