์ธํŒŒ

You Can Become A

Programme

๋Šฆ๊ฒŒ ์‹œ์ž‘ํ•ด๋„ ๋ˆ„๊ตฌ๋“ ์ง€ ๋…ธ๋ ฅํ•˜๋ฉด ๊ฐœ๋ฐœ์ž๊ฐ€ ๋ ์ˆ˜ ์žˆ์–ด์š” !

๊นƒ ์‚ญ์ œ

๊ณต๋ถ€ํ•œ ๋‚ด์šฉ์„ ์ •๋ฆฌํ•ฉ๋‹ˆ๋‹ค
GIT

[GIT] โšก๏ธ git add / commit / push ์ทจ์†Œํ•˜๊ธฐ ๐Ÿ’ฏ ์ •๋ฆฌ

๊ธฐ์กด ์ฝ”๋“œ๋ฅผ ๋‚ ๋ฆฌ๊ณ  ์‹ถ์ง€์•Š์œผ๋ฉด origin(๊นƒํ—™)์—๋‹ค๊ฐ€ push๋ฅผ ํ•ด๋†“๊ณ  ๋ฆฌ์…‹ํ•ด์•ผ ์›๊ฒฉ์„œ๋ฒ„์— ๋‚ด๊ฐ€ ์ž‘์—…ํ•œ๊ฒŒ ๋‚จ๋Š”๋‹ค. ๋กœ์ปฌ์—์„  ๋‹ค ์‚ฌ๋ผ์ง€๊ธฐ ๋•Œ๋ฌธ์ด๋‹ค. git add ์ทจ์†Œํ•˜๊ธฐ (ํŒŒ์ผ ์ƒํƒœ๋ฅผ Unstage๋กœ ๋ณ€๊ฒฝํ•˜๊ธฐ) ์•„๋ž˜์™€ ๊ฐ™์ด ์‹ค์ˆ˜๋กœ git add * ๋ช…๋ น์„ ์‚ฌ์šฉํ•˜์—ฌ ๋ชจ๋“  ํŒŒ์ผ์„ Staging Area์— ๋„ฃ์€ ๊ฒฝ์šฐ, Staging Area(git add ๋ช…๋ น ์ˆ˜ํ–‰ํ•œ ํ›„์˜ ์ƒํƒœ)์— ๋„ฃ์€ ํŒŒ์ผ์„ ๋นผ๊ณ  ์‹ถ์„ ๋•Œ๊ฐ€ ์žˆ๋‹ค. ์—ฌ๊ธฐ์— ๋‘๊ฐ€์ง€ ๋ฐฉ๋ฒ•์ด ์žˆ๋‹ค. git reset HEAD HEAD๊ฐ€ ๊ฐ€๋ฆฌํ‚ค๋Š” ์‹œ์ ์˜ ๋ฒ„์ „์œผ๋กœ ํŒŒ์ผ์„ unstageํ•˜๊ณ  ๋˜๋Œ๋ฆฐ๋‹ค. # CONTRIBUTING.md ํŒŒ์ผ์„ Unstage๋กœ ๋ณ€๊ฒฝํ•œ๋‹ค. $ git reset HEAD CONTRIBUTING.md # ์ „์ฒด ์ทจ์†Œ $ git reset HEAD..

category_image
์ธํŒŒ_
2021.11.19
5