ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

๋ฐ˜์‘ํ˜•

โœ… VSCode Gitlab ์—ฐ๋™ ํ”„๋กœ์ ํŠธ ์˜ฌ๋ฆฌ๊ธฐ

๋‚˜ ๊ฐ™์€ ๊ฒฝ์šฐ์—๋Š” ๋กœ์ปฌ์— ํ”„๋กœ์ ํŠธ๋ฅผ ๋งŒ๋“ค๊ณ  ์–ด๋Š์ •๋„ ๊ฐœ๋ฐœ์„ ํ•˜๋‹ค๊ฐ€ gitlab์— ์˜ฌ๋ฆฌ๋Š” ๊ฒฝ์šฐ๊ฐ€ ๋งŽ์•„
๋‚ด ๋กœ์ปฌ ํ”„๋กœ์ ํŠธ๋ฅผ gitlab์— ์˜ฌ๋ฆฌ๋Š” ๋ฐฉ๋ฒ•์„ ๊ณต์œ  ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.

 

1. Gitlab์—์„œ ํ”„๋กœ์ ํŠธ ๋งŒ๋“ค๊ธฐ

gitlab ๋กœ๊ทธ์ธ ํ›„ ํ”„๋กœ์ ํŠธ ๋งŒ๋“ค๊ธฐ

Initialize repository with a README

Initialize repository with a README ํŒŒ์ผ์€ ์ฒดํฌํ•ด์ œ๋ฅผ ํ•˜์—ฌ ๋งŒ๋“ค์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

์ƒ์„ฑ์ด ์™„๋ฃŒ๋˜๋ฉด clone with HTTPS ๋ณต์‚ฌํ•ด๋‘์„ธ์š”

 

2. VSCode ์—์„œ ํ”Œ๋กœ๊ทธ์ธ ์„ค์น˜ ๋ฐ ๋ช…๋ น์–ด ์‹คํ–‰

ํ”Œ๋กœ๊ทธ์ธ ์„ค์น˜ - gitlens, git history

 

vscode ํ„ฐ๋ฏธ๋„์ฐฝ์—์„œ ๋ช…๋ น์–ด ์ž…๋ ฅ
git init
git add .
git commit -m "init"
# ์•„๋ž˜ https๋Š” ์ž์‹ ์˜ gitlab ์ฃผ์†Œ ๋„ฃ์–ด์ฃผ์„ธ์š”
git remote add origin https://gitlab.com/xxx/xxx.git
git branch -M main
git push -u origin main

 

์ด๋Ÿฌ๊ณ ๋‚˜์„œ gitlab์—์„œ ํ™•์ธ ๋!!!

๊ณต์ง€์‚ฌํ•ญ
์ตœ๊ทผ์— ์˜ฌ๋ผ์˜จ ๊ธ€
์ตœ๊ทผ์— ๋‹ฌ๋ฆฐ ๋Œ“๊ธ€
Total
Today
Yesterday
๋งํฌ
ยซ   2024/12   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
๊ธ€ ๋ณด๊ด€ํ•จ
๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ (80)
๐Ÿ“บ Develop (0)
๐ŸŒ‹ Error Fixed (5)
๐Ÿ— Tool (5)
๐Ÿ’ป MacBook M1 (15)
๐Ÿ“ฆ ETC (1)

์ด ํฌ์ŠคํŒ…์€ ์ฟ ํŒก ํŒŒํŠธ๋„ˆ์Šค ํ™œ๋™์˜ ์ผํ™˜์œผ๋กœ, ์ด์— ๋”ฐ๋ฅธ ์ผ์ •์•ก์˜ ์ˆ˜์ˆ˜๋ฃŒ๋ฅผ ์ œ๊ณต๋ฐ›์Šต๋‹ˆ๋‹ค.