목록[XiBBaL] Study/Git and Github (2)
AiPE
Git과 GitHub는 뗄레야 뗄 수 없을만큼 밀접하지만, 이 둘은 애초에 범주가 다르다. Git과 GitHub의 비교 Git GitHub 공통점 개발 협업을 편리하게 하기 위한 도구 차이점 - 버전 관리 도구 - 파일의 변경 이력을 추적하고 관리하는 데 사용 - 로컬 환경에서 작업 가능 - 필요할 때 원격 저장소(GitHub 등)와 통신하여 변경 사항을 공유 - Git을 기반으로 한 웹 호스팅 서비스 - 원격 저장소를 제공하여 여러 사용자가 동일한 프로젝트를 공유하고 협업 가능 - 이슈 트래킹, 코드 리뷰, 코드 검토 등의 편의 기능을 제공 Git은 분산 버전 관리 시스템이며, GitHub는 Git 저장소를 호스팅하고 협업을 위한 다양한 도구와 서비스를 제공하는 플랫폼이다. Git은 로컬에서 작업을 하..
Git Branch란, Git의 Main 가지에서 갈라져 나온, 독립된 저장소이다. 이 Branch들로써 프로그램의 버전을 관리하며 하나의 프로그램을 여러 사람이 작업하는 협업이 가능해진다. Git branch를 사용하는 이유는 다음과 같다. Git Branch를 사용하는 이유 ① 동시 작업 (협업) 여러 사람이 동시에 프로젝트를 작업할 수 있도록 한다. 각자가 자신의 브랜치(독립된 영역)에서 작업을 하고, 이후에 변경 사항을 병합하여 하나로 통합할 수 있다. ② 버전 이력 관리 각 브랜치는 프로젝트의 특정 시점을 나타내는 커밋들의 연속이므로, 작업 이력을 관리하고 이전 상태로 쉽게 돌아갈 수 있다. ③ 기능 분리 새로운 기능을 개발할 때 기존 코드에 영향을 미치지 않도록 별도의 브랜치에서 작업할 수 있..