Contenu connexe
Similaire à Fun git hub (20)
Plus de Kenu, GwangNam Heo
Plus de Kenu, GwangNam Heo (20)
Fun git hub
- 5. 버전 관리
• 프로젝트가 있다고 하고,
• 소스 파일 탄생하면
• 주민 등록: add
• 공유할 버전 확정: commit
• 버전 번호 증가
- 7. 공동 작업 #2
• 나중에 올리는 사람이 할 일
• 최종 변경 사항을 로컬로 가져오기
• 로컬과 합치고,
• 같이 변경된 부분의 충돌 정리
• 다시 수정 버전 추가, 커밋하고,
• 서버에 올려서 공유
- 8. 버전 관리 시스템
Image from: http://designpatternschash.blogspot.com/2008/09/what-is-tortoise-svn.html
- 9. 분산 버전 관리 시스템
Repository
Repository Repository Repository
pull push
- 10. 분산 버전 관리 시스템
Repository
Repository Repository Repository
pull push
Local
Commit
Local
Commit
Local
Commit
- 11. 저장소 해쉬코드
• 버전 구분
• 3269aecad9ffea81763a42b9fff34c76a0aa4cf0
• 3269aec
- 16. 기본 사용법 방법#1
• GitHub에 프로젝트 만들고
• git clone https://github.com/id/project.git
- 17. 기본 사용법 방법#2
• 로컬에 프로젝트 만들고,
• git remote add origin https://
github.com/id/project.git
• git pull origin master
• git push origin master
- 19. remote
• github에 [new Repository]
• git remote
• git remote -v
• git remote add origin https://github.com/id/
project.git
- 25. 브랜치 따고 싶어요
• git reset --hard 문제가발생한버전해쉬
• git reset --hard 3269aec
• git status
• git log
• git checkout -b hatelist
• git push origin hatelist
- 26. 저장소 복사
• fork
• Pull Request
• https://github.com/jquery/jquery
• https://github.com/kenu/jquery
- 27. svn 2 git
• git svn clone
https://src.springframework.org/svn/spring-samples/jpetstore/
trunk