๋ณธ๋ฌธ์œผ๋กœ ๋ฐ”๋กœ๊ฐ€๊ธฐ
728x90

 

โ˜ข๏ธ๋ฐœ์ƒํ•œ ์ƒํ™ฉ

 

Unreal Engine์— ๋Œ€ํ•œ .gitignore ํŒŒ์ผ์„ ์ ์šฉํ•œ ํ›„, ์ปค๋ฐ‹์„ ํ•˜๊ธฐ ์œ„ํ•ด "git add *" ๋ช…๋ น์–ด๋ฅผ ์น˜๋‹ˆ๊นŒ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ๊ณ ๊ฐ€ ๋–ด์Šต๋‹ˆ๋‹ค.

 $ git add *
 
The following paths are ignored by one of your .gitignore files:
CppPractice.sln
hint: Use -f if you really want to add them.
hint: Turn this message off by running
hint: "git config advice.addIgnoredFile false"

 

 

 

"git add *" ๋ช…๋ น์–ด๋Š” ์ถ”์  ์ค‘์ธ ๋ชจ๋“  ํŒŒ์ผ๋“ค์„ .gitignore์— ์ ํžŒ ํŒŒ์ผ๊นŒ์ง€ ํฌํ•จํ•˜์—ฌ ์Šคํ…Œ์ด์ง€์— ์˜ฌ๋ฆฌ๊ฒ ๋‹ค๋Š” ์˜๋ฏธ๋ผ๊ณ  ํ•ฉ๋‹ˆ๋‹ค. .gitignore์— ์ ์€ ๋’ค, git์— ์•ˆ ์˜ฌ๋ฆฌ๊ฒ ๋‹ค๊ณ  ํ•ด๋†“๊ณ ์„ , ๋ง‰์ƒ ์˜ฌ๋ฆฌ๋ ค๊ณ  ํ•˜๋‹ˆ ์•Œ๋ ค์ฃผ๋Š” ๊ฒƒ์ด์ฃ .

 

 

โœ…ํ•ด๊ฒฐ ๋ฐฉ์•ˆ

 

.gitignore์— ์žˆ๋Š” ํŒŒ์ผ์€ ์ œ์™ธํ•˜๊ณ , ๋ชจ๋“  ํŒŒ์ผ๋“ค์„ ์Šคํ…Œ์ด์ง€์— ์˜ฌ๋ ค์ฃผ๋Š” "git add ."์„ ์‚ฌ์šฉํ•˜์—ฌ ์˜ฌ๋ฆฌ๋„๋ก ํ•ฉ๋‹ˆ๋‹ค.

$ git add .

 

728x90
๋ฐ˜์‘ํ˜•