๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿ’ป DEV/IntelliJ

[IntelliJ] ํ”„๋กœ์ ํŠธ ๋””๋ ‰ํ† ๋ฆฌ ๋ณด์ด์ง€ ์•Š์„ ๋•Œ ํ•ด๊ฒฐ๋ฒ•

by Rising Oneโ˜… 2024. 1. 15.
728x90
๋ฐ˜์‘ํ˜•
SMALL

์ ‘๊ทผ (์š”์•ฝ)

์ธํ…”๋ฆฌ์ œ์ด์—์„œ ์ฝ”๋“œ ์ž‘์—…์„ ํ•˜๋‹ค๋ณด๋ฉด ์ข…์ข… ๋ธŒ๋žœ์น˜๊ฐ„์˜ ์ด๋™์„ ํ•œ๋‹ค๊ฑฐ๋‚˜, git ์ž‘์—…์„ ์ด์–ด๊ฐ€๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

์ด ๋•Œ, git checkout์„ ํ•˜๊ฑฐ๋‚˜ ํŠน์ • ํ–‰์œ„๋ฅผ ํ•˜๋‹ค๋ณด๋ฉด, ๊ฐœ๋ฐœ์ž๋„ ๋ชจ๋ฅด๋Š” ์‚ฌ์ด์— ํ”„๋กœ์ ํŠธ์˜ ๋””๋ ‰ํ† ๋ฆฌ๊ฐ€ ๋ชจ๋‘ ์‚ฌ๋ผ์ ธ ๋ณด์ด์ง€ ์•Š๋Š” ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•˜๊ณค ํ•ฉ๋‹ˆ๋‹ค. ์ด๋ฅผ ๊ฐ„๋‹จํ•˜๊ฒŒ ํ•ด๊ฒฐํ•ด๋ณด๋Š” ๋ฐฉ๋ฒ•์„ ํ•™์Šตํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค.

 

  1. ๋ฌธ์ œ์‹๋ณ„

 

  2. ๋ฌธ์ œํ•ด๊ฒฐ

(1) IntelliJ > File(์ƒ๋‹จ๋ฉ”๋‰ด) > Project Structure

(2) Project Settings > Modules > Import Module

(3) ํ”„๋กœ์ ํŠธ ์„ ํƒ ๋ฐ ๊ฒฝ๋กœ ์ง€์ •

 


๋ฐฉ๋ฒ•

  1. ๋ฌธ์ œ ์‹๋ณ„

ํ”„๋กœ์ ํŠธ ๋””๋ ‰ํ† ๋ฆฌ(ํƒ์ƒ‰๊ธฐ)์— ์•„๋ฌด๊ฒƒ๋„ ๋ณด์ด์ง€ ์•Š๋Š” ์ƒํ™ฉ

  2. ๋ฌธ์ œ ํ•ด๊ฒฐ

(1) IntelliJ > File(์ƒ๋‹จ๋ฉ”๋‰ด) > Project Structure

File > Project Structure

(2) Project Settings > Modules > Import Module

 

(3) ํ”„๋กœ์ ํŠธ ์„ ํƒ ๋ฐ ๊ฒฝ๋กœ ์ง€์ •

728x90
๋ฐ˜์‘ํ˜•
LIST

๋Œ“๊ธ€