잔글 Utolee90님이 위키노트:Git 문서를 Git 문서로 이동했습니다: Move_Pages_by_removing_the_text_위키노트_via_pywikibot
잔글 Utolee90님이 Git 문서를 작은숲:위키노트/Git 문서로 이동했습니다: 제목 변경
 
(같은 사용자의 중간 판 4개는 보이지 않습니다)
1번째 줄: 1번째 줄:
Git은 프로그램 소스 등을 관리하기 위한 버전 관리 시스템이다. 처음에는 [[w:ko:리누스 토르발스|리누스 토르발스]]가 [[w:ko:리눅스 커널|리눅스 커널]] 개발에 이용하려고 빠른 수행 속도에 중점을 두고 개발하기 시작했고, 현재는 전세계적으로 널리 사용되는 버전 관리 시스템이 되었다. Git은 외부 저장소나 중앙 서버에 접근하지 않고도 로컬의 모든 기록을 추적할 수 있는 정보를 담고 있는 완전한 저장소를 제공한다.
Git은 프로그램 소스 등을 관리하기 위한 버전 관리 시스템이다. 처음에는 [[w:ko:리누스 토르발스|리누스 토르발스]]가 [[w:ko:리눅스 커널|리눅스 커널]] 개발에 이용하려고 빠른 수행 속도에 중점을 두고 개발하기 시작했고, 현재는 전세계적으로 널리 사용되는 버전 관리 시스템이 되었다. Git은 외부 저장소나 중앙 서버에 접근하지 않고도 로컬의 모든 기록을 추적할 수 있는 정보를 담고 있는 완전한 저장소를 제공한다.
== 리눅스에서 Git 설치 ==
== 리눅스에서 Git 설치 ==
<source lang="console">
<syntaxhighlight lang="console">
# yum install git-core
# yum install git-core
</source>
</syntaxhighlight>
혹은 <tt>Ubuntu</tt> 같은 [[위키노트:데비안|데비안]] 계열 배포판에서는 <tt>apt-get</tt>을 사용한다.
혹은 <tt>Ubuntu</tt> 같은 [[작은숲:위키노트/데비안|데비안]] 계열 배포판에서는 <tt>apt-get</tt>을 사용한다.
<source lang="console">
<syntaxhighlight lang="console">
# apt-get install git
# apt-get install git
</source>
</syntaxhighlight>
== 간단 사용법 ==
== 간단 사용법 ==
초기 설정
초기 설정
<source lang="console">
<syntaxhighlight lang="console">
$ git config --global user.name "Someone"
$ git config --global user.name "Someone"
$ git config --global user.email someone@yourdomain.com
$ git config --global user.email someone@yourdomain.com
16번째 줄: 16번째 줄:
$ git config --global color.ui true
$ git config --global color.ui true
$ git config --global core.pager 'less -x4'
$ git config --global core.pager 'less -x4'
</source>
</syntaxhighlight>
설정 내용 확인
설정 내용 확인
<source lang="console">
<syntaxhighlight lang="console">
$ git config --list
$ git config --list
</source>
</syntaxhighlight>
외부 저장소와 동기화
외부 저장소와 동기화
<source lang="console">
<syntaxhighlight lang="console">
$ git pull
$ git pull
</source>
</syntaxhighlight>
== 같이 보기 ==
== 같이 보기 ==
* [[위키노트:GitHub|GitHub]]
* [[작은숲:위키노트/GitHub|GitHub]]
* [[GitLab]]
* [[GitLab]]
== 참고 ==
== 참고 ==
45번째 줄: 45번째 줄:
* {{언어|영어}} [http://jupyter.readthedocs.org/en/latest/contrib_guide_docs.html#git-and-github-resources Git and Github Resources]
* {{언어|영어}} [http://jupyter.readthedocs.org/en/latest/contrib_guide_docs.html#git-and-github-resources Git and Github Resources]
* {{언어|영어}} [http://willi.am/blog/2015/02/19/customize-your-git-log-format/ Customize Your Git Log Format]
* {{언어|영어}} [http://willi.am/blog/2015/02/19/customize-your-git-log-format/ Customize Your Git Log Format]
[[분류:공유]]
[[분류:위키노트/공유]]
[[분류:리눅스]]
[[분류:리눅스]]
[[분류:프로그래밍]]{{퍼온문서|위키노트|{{#invoke:string|replace|{{PAGENAME}}|위키노트:|}}}}[[분류:위키노트에서 가져온 문서]]
[[분류:프로그래밍]]{{퍼온문서|위키노트|{{#invoke:string|replace|{{PAGENAME}}|위키노트:|}}}}[[분류:위키노트에서 가져온 문서]]