Posts ๐Ÿ˜ธ [Git] .gitignore ํŒŒ์ผ ์ƒ์„ฑ ๋ฐ ์‚ฌ์šฉ ๋ฐฉ๋ฒ•
Post
Cancel

๐Ÿ˜ธ [Git] .gitignore ํŒŒ์ผ ์ƒ์„ฑ ๋ฐ ์‚ฌ์šฉ ๋ฐฉ๋ฒ•

โ—ป๏ธ Goal

  • .gitignore ํŒŒ์ผ์„ ์ƒ์„ฑํ•ด track ๋Œ€์ƒ์—์„œ ์ œ์™ธํ•  ํŒŒ์ผ์ด๋‚˜ ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ์ง€์ •ํ•ด๋†“์„ ์ˆ˜ ์žˆ๋‹ค.



โ—ป๏ธ How to

  • .git ํด๋”๊ฐ€ ์žˆ๋Š” ๋””๋ ‰ํ† ๋ฆฌ์—์„œ $ touch .gitignore ๋กœ ํŒŒ์ผ ์ƒ์„ฑ
  • .gitignore ํŒŒ์ผ ์•ˆ์— ์ถ”์ &ํ‘ธ์‹œ๋ฅผ ์ œ์™ธํ•  ํŒŒ์ผ์„ ์ง์ ‘ ์ž…๋ ฅ ํ›„ ์ €์žฅํ•ด๋†“๋Š”๋‹ค
  • # ์œผ๋กœ ์ฃผ์„์ฒ˜๋ฆฌ๋ฅผ ํ•ด ๋†“์œผ๋ฉด ๋ฌด์‹œํ•  ํŒŒ์ผ์— ๋Œ€ํ•œ ๊ฐ€๋…์„ฑ์ด ๋”์šฑ ๋†’์•„์ง
  • ์ œ์™ธํ•  ํŒŒ์ผ์„ ํ•˜๋‚˜ํ•˜๋‚˜ ์ž…๋ ฅํ•˜๊ธฐ ์–ด๋ ต๋‹ค๋ฉด https://www.toptal.com/developers/gitignore ์—์„œ
  • ์ผ๋ฐ˜์ ์œผ๋กœ ์ œ์™ธ์‹œํ‚ค๋Š” ํŒŒ์ผ์ด ํฌํ•จ๋œ .gitignore ํŒŒ์ผ ํ…œํ”Œ๋ฆฟ์„ ์ƒ์„ฑํ•ด์„œ ์‚ฌ์šฉํ•  ์ˆ˜๋„ ์žˆ๋‹ค.
This post is licensed under CC BY 4.0 by the author.

๐Ÿ˜ธ [Git] ์—๋Ÿฌ:could not lock config file...:permission denied ํ•ด๊ฒฐ๋ฐฉ๋ฒ•

๐Ÿ‹๏ธโ€โ™‚๏ธ [Workout Log] 2021-06-03