GitLab 시작하기
발행: (2026년 1월 4일 오전 04:42 GMT+9)
3 min read
원문: Dev.to
Source: Dev.to
Git이란
Git is a distributed version control system used to track changes in source code during software development.
It allows multiple developers to work on the same project, maintains a complete history of changes, and helps manage different versions of code efficiently.
버전 관리 시스템
A Version Control System (VCS) is a tool that tracks and manages changes to files over time, allowing users to view history and revert to previous versions.
버전 관리 시스템의 종류
1. 로컬 버전 관리 시스템
- 한 컴퓨터에 버전을 저장합니다.
2. 중앙 집중식 버전 관리 시스템
- 여러 사용자가 접근하는 중앙 서버에 모든 버전을 저장합니다.
- 예시: SVN
3. 분산 버전 관리 시스템
- 각 개발자는 전체 히스토리를 포함한 저장소의 완전한 복사본을 로컬 머신에 가지고 있습니다.
- 예시: Git
GitLab이란
GitLab is a web-based DevOps platform that uses Git for version control and provides tools to manage the entire software development lifecycle, including code hosting, collaboration, CI/CD, and project management.
GitLab에 파일 푸시하는 방법
# Step 1: navigate to the project directory
cd
# Step 2: initialize a repository
git init
# check status
git status
# Step 3: add files
git add
# or add all files
git add .
# Step 4: commit changes
git commit -m "message"
# Step 5: push to remote
git push
저장소란
A repository is a storage location for source code files and folders, supporting collaboration among developers and maintaining a history of changes.
호스팅
Hosting provides server space and resources to make a website or application available online. It can be accessed over the internet.
로컬 호스팅
Local hosting runs a website or application on a local computer instead of an internet server. It is used for development, testing, and learning purposes.
호스팅 도구: XAMPP, WAMP, MAMP
서버
A server is a computer or system that provides resources, data, or services, handling client requests via a request‑response model.
예시: web server, file server, database server, application server.