Understand source code management
Source code management helps you and your team to work quickly and collaborate efficiently within your DevOps workflow. Learn all you need to know about source code management tools, when to use them, and how they work.

소스 코드 관리 소개
SCM(소스 코드 관리) 시스템은 팀이 협업하고 프로젝트의 소스 코드 저장소("리포지토리"라고도 함)를 수정하는 데 도움이 되는 툴입니다. 이 툴은 시간의 경과에 따른 코드 저장소의 변경 사항을 추적하여 작동합니다.
소스 코드 관리 시스템을 사용하는 팀은 동일한 프로젝트에서 동시에 작업할 수 있습니다. 각 개별 변경 사항 및 업데이트는 모든 것을 함께 그룹화하는 "커밋" 형식으로 소스 코드 저장소에 추가할 수 있습니다. 단일 커밋으로 그룹화된 변경 사항을 개별적으로 검토 및 업데이트하거나 전체 그룹을 취소할 수 있습니다. 커밋 내에서 이 전체 이력에 액세스하면 버그를 쉽게 식별하고 이전에 제거된 기능을 간단히 복원할 수 있습니다.
버전 관리란?
버전 관리라고도 하는 소스 코드 관리는 팀이 프로젝트의 코드 및 에셋 업데이트를 추적하고 관리하는 방법입니다. 소스 코드 관리는 프로젝트의 코드베이스에 기여하는 프로그래머, 아티스트, 다른 팀원들을 위한 정보 출처라고 생각할 수 있습니다.
효과적인 버전 관리 시스템을 통해 팀은 정기적으로 프로젝트를 백업할 수 있을 뿐만 아니라 병합 충돌과 같은 예기치 않은 이벤트가 발생하는 경우 이전 버전으로 롤백할 수 있습니다. 병합 충돌은 소스 코드에 두 가지 다른 변경 세트가 동시에 추가되고 버전 관리 시스템이 프로젝트에 병합할 변경 세트를 결정할 수 없을 때 발생합니다.
다양한 이해관계자의 협력과 신속한 반복 작업을 통해 고품질 프로젝트를 적시에 제공할 수 있도록 지원하는 버전 관리는 개발자 작업의 핵심입니다.
소스 코드 관리 툴
팀에 가장 적합한 소스 코드 관리 툴을 찾아 적시에 적용하는 것은 매우 중요합니다. 프로젝트의 시작이나 끝 시점이 새로운 소스 관리 툴을 도입하기에 이상적인 시기입니다. 툴을 적용하려면 잠재적으로 전체 팀이 기존 워크플로를 조정해야 하기 때문에 어려울 수 있으며, 프로젝트가 한창 진행 중일 때는 특히 더 어려운 프로세스입니다.
소스 코드 관리를 위해 새로운 툴을 고려하고 있을 때 무엇을 확인해야 하는지 궁금하신가요? 작업할 파일 유형 및 파일 크기, 전체 팀의 기술적 능력, 비용, 보안 요구 사항, 팀에 필요한 유연성과 같은 요소들을 고려하세요.
Unity 블로그에서 다음 버전 관리 툴을 평가하는 방법에 대해 자세히 알아보세요.
소스 코드 관리 툴이 중요한 이유
There are many reasons to implement source code management as part of the game development process. The most obvious is having greater control over your project. Effective source code management software empowers everyone, regardless of technical expertise, to work on their own parts of a project independently, while also making it easy to undo any changes that unintentionally break the source code. This is achieved through branching.
A source code management tool that supports branching gives programmers the ability to isolate their own files from the main project (called the “trunk”) and test changes and updates on a separate “branch.” Once the changes are confirmed to be stable, they can then be merged back into the trunk.
Generally, source code management tools store information in the cloud or a distributed server, improving collaboration across time zones and geographies. These solutions also make it easier to work with larger project files, especially if they use file-based workflows. A file-based workflow allows team members such as artists to make changes to individual project files without downloading the entire project – a huge timesaver.
Unity's source code management solutions give you all of the benefits listed here. It is flexible and easy to use for programmers and artists, supports large repos and binary files, and works using a file-based workflow. Unity source code management can support thousands of branches concurrently and is the only version control that offers visual branching.
관련 자료
리소스를 더 살펴보고 버전 관리 시스템과 기타 DevOps 툴 및 프로세스에 대해 알아보세요.
DevOps 라이프사이클
DevOps 방법론을 사용하고 수동 작업을 자동화하면 게임 개발의 효율성이 더욱 향상됩니다. DevOps 라이프사이클의 7가지 단계를 숙지하고 시작하세요.
DevOps 원칙
모든 게임 스튜디오에서는 제작 시간을 단축하면서 시간의 압박으로부터 해방되고자 하며, DevOps는 이를 실현하는 최적의 방법입니다. DevOps 방법론의 핵심 원칙을 알아보고 시작하세요.
DevOps의 이점
DevOps 방식을 구현하면 개발 파이프라인을 간소화하고 팀과 사용자의 만족도를 향상할 수 있습니다. DevOps를 사용하면 어떤 도움이 되는지 알아보세요.