GIT 개념

  • 소스 코드 관리를 위한 분산 버전관리 시스템
  • CVS, Subversion 과 같은 영역을 담당하지만 2017년 현재는 GIT 이 독주 상태
  • 버전관리 영역
    • 로컬 PC : Working Dir => Index (Stage) => HEAD
    • GITHUB : Repository
  • 기본개념도
    • git개념도
  • fetch vs pull
    • fetch : 원격 저장소의 소스를 로컬 저장소로 가져온다
    • pull : fetch 후에 Merge 작업까지 수행한다
  • 다른사람 Repository 내용으로 내 Repository 를 다시 맞추려면
    • 다른사람 Repository 를 Pull 로 가져와서
      • git pull upstream master
    • 내 Repository 로 push 한다
      • git push origin master

참조사이트

byoungchul.kim's profile image

byoungchul.kim

2017-11-06 13:52

Read more posts by this author