문서의 이전 판입니다!


깃헙 (Github)

https://github.com/

전통적으로 소스 버전을 관리할 수 있는 시스템으로 동시버전시스템(CVS)과 서브버전관리시스템(Svn) 등이 있다. 이들은 소스를 관리하는 서버가 있는 탓에 소스 변경 사항을 저장하고 관리하려면 네트워크 연결이 필수였다.

리누스 토발즈가 만든 깃(Git) 이라는 엔진은 다르다. 오프라인에서도 작업한 다음 온라인으로도 작업 환경을 옮길 수 있다. 그리고 이 깃 엔진을 웹에서 서비스로 만든 게 깃헙 이다

근래 뜨거운 이슈를 받고 있는 것이 GitHub 이다.

GitHub 는 쉽게 말하면 소스포지구글코드와 같은 오픈 소스 저장소이다. 그러나 버전 컨트롤은 Git을 사용하고, 소스 저장소 이외의 소셜 기능 등이 더 있다.

많은 오픈 소스 프로젝트가 GitHub를 사용 중이다.

클라이언트

윈도

맥 osx

우분투

그냥 git을 쓰면 된다.

sudo apt-get install git

그리고 깃(Git) 참조.

행위

Push

# Create a new repository on the command line

touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/dryoo/openwiki.git
git push -u origin master
# Push an existing repository from the command line

git remote add origin https://github.com/dryoo/openwiki.git

git push -u origin master

Commit

변경된 것을 내 컴퓨터에서 깃헙으로 올린다.

git add .
git commit -a -m "Applied patch"
git push -u origin master

Pull

깃헙에 만들어져있는 저장소에서 파일들을 내려받는다.

cd dokuwiki/lib/tpl
mkdir dokutwitterbootstrap
cd dokutwitterbootstrap
git init
git pull git://github.com/dryoo/daummovie.git

Status

git status

git status -uno

rating

누구나 수정하실 수 있다. 위키 사용법 참고하라.

역링크