๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๋นˆ ๊ตฌ๋ฉ ์ฑ„์šฐ๊ธฐ

[Git] Bitbucket vs GitHub vs GitLab

https://stackshare.io/stackups/bitbucket-vs-github-vs-gitlab

 

Bitbucket vs GitHub vs GitLab | What are the differences?

Bitbucket - One place to plan projects, collaborate on code, test and deploy, all with free private repositories. GitHub - Powerful collaboration, review, and code management for open source and private development projects. GitLab - Open source self-hoste

stackshare.io

 

๊นƒ ๊ด€๋ฆฌ๋ฅผ ์œ„ํ•œ ์ฃผ์š” ์„ธ ๊ฐ€์ง€ ํˆด, Bitbucket, GitHub, GitLab.

 

์„ธ ํˆด์„ ๋น„๊ตํ•ด๋ณด๊ณ ์ž ์ฐพ๋˜ ์ค‘ ์˜ค๋Š˜ ๋‚ ์งœ(2023.6.7)๋กœ ์—…๋ฐ์ดํŠธ๋œ ์ตœ์‹  ๊ธ€์„ ๋ฐœ๊ฒฌํ–ˆ๋‹ค. 

ํ•ด๋‹น ๊ธ€์—์„œ ์„ธ ๊ฐ€์ง€ ํˆด์„ 1. Pull Request, 2. Integrations, 3. ์˜คํ”ˆ ์†Œ์Šค ํ”„๋กœ์ ํŠธ ๊ฐ€์‹œ, 4. ๊ฐ€๊ฒฉ์œผ๋กœ ๋น„๊ตํ•˜๊ณ  ์žˆ๋‹ค.

 

๊ฐ„๋žตํ•˜๊ฒŒ ์ •๋ฆฌํ•œ๋‹ค.

 

1. Pull Request ํ’€ ๋ฆฌํ€˜์ŠคํŠธ

ํ’€ ๋ฆฌํ€˜์ŠคํŠธ๋ž€, production, development์™€ ๊ฐ™์€ ๋ฒ ์ด์Šค ๋ธŒ๋žœ์น˜์— ์™„์„ฑ๋œ feature ๋ธŒ๋žœ์น˜๋ฅผ ๋จธ์ง€ํ•˜๋Š” ๊ฒƒ์œผ๋กœ, ์ผ๋ฐ˜์ ์œผ๋กœ z์ฝ”๋“œ ๋ฆฌ๋ทฐ๊ฐ€ ์„ ํ–‰๋œ๋‹ค. ์ด ํ’€ ๋ฆฌํ€˜์ŠคํŠธ๊ฐ€ ๊ฐ ํˆด๋งˆ๋‹ค ์ฐจ์ด์ ์ด ์กด์žฌํ•œ๋‹ค.

 

GitHub์˜ Pull Request

ํŒ€ ๊ธฐ๋ฐ˜team-based์„ ์—ผ๋‘ํ•˜๊ณ  ๋งŒ๋“ค์–ด์ง„ ๊ธฐ๋Šฅ๋“ค์ด ์žˆ๋‹ค. 

 

Bitbucket์˜ Pull Request

GitHub๋ณด๋‹ค๋Š” ์ ์€ ๊ธฐ๋Šฅ๋“ค์„ ์ œ๊ณตํ•œ๋‹ค.

 

GitLab์˜ Merge Request(๋‹ค๋ฅธ ํˆด๋“ค์˜ Pull Request์™€ ๋น„์Šทํ•œ๋ฐ, ์ด๋ฆ„์ด ๋‹ค๋ฅด๋‹ค)

์ฝ”๋“œ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ๊ธฐ๋ณธ์œผ๋กœ ๋ณด์—ฌ์ฃผ์ง€๋Š” ์•Š๋Š”๋‹ค. ์ฝ”๋“œ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ๋ณด๊ธฐ ์œ„ํ•ด์„œ๋Š” ํด๋ฆญ ๋ช‡ ๋ฒˆ ํ•ด์•ผ ํ•œ๋‹ค.

 

2. Intergrations ํ†ตํ•ฉ

CI, CD๋ฅผ ์œ„ํ•œ ๊ธฐ๋Šฅ ์ œ๊ณต

 

GitHub

GitHub Marketplace์™€ Works with Marketpalce์—์„œ CI, CD๋ฅผ ์œ„ํ•œ ์„œ๋“œํŒŒํ‹ฐ ํˆด๋“ค์„ ๊ตฌ์ž…ํ•  ์ˆ˜ ์žˆ๋‹ค. REST API๋กœ ์ปค์Šคํ…€ ํ†ตํ•ฉ์„ ์ƒ์„ฑํ•  ์ˆ˜๋„ ์žˆ๋‹ค.

 

Bitbucket

์ž์ฒด Pipeline ํˆด์„ ์ œ๊ณตํ•˜๋ฉฐ, app marketplace์—์„œ ์„œ๋“œํŒŒํ‹ฐ ํˆด๋“ค์„ ํš๋“ํ•  ์ˆ˜ ์žˆ๋‹ค. API๋„ ์ œ๊ณตํ•ด ์ž์ฒด ํ†ตํ•ฉ์„ ์ƒ์„ฑํ•  ์ˆ˜๋„ ์žˆ๋‹ค.  

 

GitLab

ํ”Œ๋Ÿฌ๊ทธ์ธ ์‹œ์Šคํ…œ๊ณผ REST API๋ฅผ ์ œ๊ณตํ•˜๊ณ , ํ”Œ๋žซํผ ์•ˆ์˜ ์ž์ฒด CI ํˆด์ด ์žˆ๋‹ค. 

 

3. ์˜คํ”ˆ ์†Œ์Šค ํ”„๋กœ์ ํŠธ ๊ฐ€์‹œ์„ฑ

 

GitHub

๊ฐ€์‹œ์„ฑ์ด ๊ฐ€์žฅ ์ข‹๊ณ , ๊ฐ€์žฅ ๋งŽ์€ ๊ธฐ๋Šฅ๋“ค์„ ์ œ๊ณตํ•œ๋‹ค.

 

GitLab

๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜๊ธฐ๋Š” ํ•˜๋‚˜ GitHub๋ณด๋‹ค๋Š” ๊ธฐ๋Šฅ๋“ค์ด ์ ๋‹ค.

 

Bitbucket

public repository ์ƒ์„ฑ ์˜ต์…˜์ด ์žˆ๊ธฐ๋Š” ํ•˜์ง€๋งŒ ๊ฒ€์ƒ‰ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜์ง€ ์•Š๋Š”๋‹ค.

 

์ฝ”๋“œ๋ฅผ ์˜คํ”ˆํ•˜๊ณ  ์‹ถ์ง€ ์•Š๋‹ค๋ฉด self-hosted ๋ฒ„์ „์„ ์‚ฌ์šฉํ•˜๋ฉด ๋œ๋‹ค.

 

4. ๊ฐ€๊ฒฉ

Cloud-host์™€ Self-host ๊ฐ€๊ฒฉ์˜ ์ฐจ์ด๋ฅผ ์œ„ ๋งํฌ์—์„œ ์ž˜ ์„ค๋ช…ํ•œ๋‹ค.

 


ํ† ์ด ํ”„๋กœ์ ํŠธ์šฉ์œผ๋กœ ๊ฐ€์žฅ ์ €๋ ดํ•œ GitLab์ด ์ ๋‹นํ•ด ๋ณด์ด๊ธฐ๋Š” ํ•œ๋‹ค.