Ry의 Git 튜토리얼
Git 버전 관리에 대한 종합적인 가이드로, 스테이징과 커밋 같은 기본 워크플로에서부터 인터랙티브 리베이스, 원격 협업, 그리고 Git의 객체 데이터베이스 내부 구조까지 고급 주제까지 다룹니다.
강좌 개요
📚 콘텐츠 요약
기본적인 스테이징과 커밋 작업부터 인터랙티브 리베이스, 원격 협업, 그리고 Git의 객체 데이터베이스 내부 구조까지 포괄적인 가이드.
명령어에서 핵심 내부 구조까지 세계적으로 가장 인기 있는 버전 관리 시스템을 마스터하세요.
저자: 라이언 호드슨
감사의 말: 서문에 명시된 사항 없음.
🎯 학습 목표
- 로컬, 중앙집중형, 분산형 버전 관리 시스템을 비교하고 차이점을 설명합니다.
- 리눅스 커널 개발을 위해 Git이 만들어진 역사적 배경을 파악합니다.
- 설치 검증, 저장소 초기화, 파일 추적 등 기본적인 Git 설정을 수행합니다.
- Git 저장소를 초기화하고
.git디렉터리의 역할을 식별합니다. - 전역 사용자 설정을 구성하고 스테이징 영역을 통해 프로젝트 파일을 추적합니다.
- 커밋을 실행하여 프로젝트 스냅샷을 생성하고, 저장소 이력 기록을 통해 검토합니다.
- 커밋 ID를 사용해 특정 과거 커밋으로 이동한 후 현재 프로젝트 상태로 돌아옵니다.
- 주석 태그를 생성하고 관리하여 안정적인 릴리스 버전을 식별합니다.
git revert를 사용해 특정 커밋 변경 사항을 되돌리되, 투명한 이력을 유지합니다.- Git CLI를 사용해 브랜치를 식별하고 생성하며, 서로 전환합니다.
수업 共 13 课时 · 预计 39.0h
수업
Lesson
AI016: History and Fundamentals of Revision Control (Lesson 1) This lesson explores the evolution of version control, contrasting the inefficiencies of manual file management—such as the "suffix trap" and "folder stack" methods—with the structured, snapshot-based approach of modern systems like Git. Students will learn how Version Control Systems provide atomic integrity, auditability, and efficient change management to replace error-prone manual workflows.
This lesson covers the essential setup for Git, including configuring your global user identity and initializing a new repository. You will learn how to establish your digital signature for professional attribution and understand how Git transforms a standard directory into a tracked project.
This lesson explores how to navigate project history in Git by using checksums and the checkout command to inspect previous file states. Students will also learn how to manage the detached HEAD state and effectively use terminal commands to view and return to their current work.
This lesson covers the fundamentals of Git branching, focusing on how to create, manage, and navigate independent lines of development using pointers. Students will learn to distinguish between the default master branch and feature branches while mastering the mechanics of merging and conflict resolution.
This lesson explores advanced Git branching strategies, focusing on the technical differences between fast-forward and 3-way merges when project histories diverge. Students will learn to identify branch divergence, manage complex merge scenarios, and maintain a clean, historical record of project development.
This lesson explores the concept of divergent Git history, explaining how independent branch evolution creates complex, non-linear project timelines. Students will learn to identify the causes of divergence and master rebasing strategies to maintain a clean, linear, and easily auditable commit history.
This lesson explores the philosophy of maintaining a clean, professional Git history by treating commits as intentional, atomic snapshots rather than simple save points. Students will learn to use interactive rebasing, commit amending, and the reflog to curate a linear, readable project narrative while mastering the technical distinction between branches as pointers versus containers.
This lesson explores the distributed nature of Git by teaching students how to manage remote repositories as independent, peer-to-peer bookmarks. You will learn to configure remote connections, distinguish between local and remote states, and master the essential commands for synchronizing code between repositories.
This lesson introduces the centralized shared repository model, which uses a hub-and-spoke topology to establish a single source of truth for team collaboration. Students will learn how to manage workflows using a central server, define the role of the integrator, and understand the function of bare repositories as dedicated storage hubs.
This lesson explores the Distributed Integrator Model, explaining how decentralized version control systems like Git allow developers to maintain local project histories while using platforms like Bitbucket as public gateways. Students will learn to configure their identity, manage secure transport protocols, and implement workflows that improve scalability and collaboration compared to traditional centralized systems.
This lesson explores the patch-based development workflow, a decentralized collaboration model where contributors submit code via email for review by a project integrator. Students will learn to master the git-format-patch and git-send-email toolchains while understanding the social and technical advantages of this high-integrity, asynchronous development process.
This lesson explores advanced Git utilities, focusing on the practical differences between git archive for clean, metadata-free snapshots and git bundle for portable, history-preserving repository transfers. Students will learn to select the appropriate export strategy based on project requirements while mastering Git hooks, advanced diff algorithms, and custom repository management.
This lesson explores Git's internal architecture by distinguishing between high-level "Porcelain" commands and low-level "Plumbing" operations. Students will learn how Git functions as a content-addressable filesystem, utilizing SHA-1 hashing to manage immutable objects like blobs, trees, and commits within the .git/objects directory.