git2 [Git] git commit message convention์ ๋ํด ์์๋ณด๊ธฐ ์ง๊ธ๊น์ง ๊น์ ์ด์ฉํ ๋ฒ์ ๊ด๋ฆฌ๋ฅผ ํ๋ฉด์ ์๋ง์ ์ปค๋ฐ์ ํ์ง๋ง, ์ ์ฅ๋ง ์ํ๋ฉด ๋์ง ๋ญ~ ๋ผ๋ ์๊ฐ์ผ๋ก ์ปค๋ฐ ๋ฉ์์ง ์์ฑ์๋ ํฌ๊ฒ ์ ๊ฒฝ์ฐ์ง ์์๋ค. ๋์ถฉ ์ ์ฒด์ ์ผ๋ก ํฌ๊ด์ ์ธ ๋ฉ์์ง๋ฅผ ์ ๊ฑฐ๋ ๋ณ๊ฒฝ๋ ๋ถ๋ถ๋ค ์ค ๋ํ์ ์ผ๋ก ๋ฐ๋ ๋ถ๋ถ๋ง ์ ๊ธฐ๋ ํ์๋ค. ํ์ง๋ง ์ด๋ฒ ํ ํ๋ก์ ํธ๋ฅผ ์งํํ๋ฉด์ ๋ค๊ฐ์ด ํ๋์ ํ๋ก์ ํธ๋ฅผ ๋ถํ ํ์ฌ ์งํํ๊ณ pushํ๊ฒ ๋๋๊น, ์๋ก๊ฐ ์ด๋ค ๋ถ๋ถ์ ์ด๋ค ๋ชฉ์ ์ ๊ฐ์ง๊ณ ์ด๋ป๊ฒ ๊ตฌํํ๋์ง ์์์ผ ํ๋ ์ํฉ์ด ๋์๋ค. ๋ฌผ๋ก ๋ฐ์ผ๋ฆฌ ์คํฌ๋ผ์ ํตํด์ ํ์ฌ ์งํ ์ค์ธ ์์ ์ ๊ฐ๋จํ๊ฒ ๊ณต์ ํ๊ณ ์์ง๋ง, ๋ ๊ตฌ์ฒด์ ์ผ๋ก github repo์์ ์ง์ ์ฝ๋๋ฅผ ๋ณด๊ณ ์ด๋ ๋ถ๋ถ์ ์งํํ๋์ง ์ ์ ์๋ ๋ฐฉ๋ฒ์ผ๋ก git commit message template์ ์ฌ์ฉํ๊ธฐ๋ก ํ๋ค. ์ด๋ฒ ๊ธฐํ์ ๊ถ๊ธํ๋ ๋ถ๋ถ๋ค,.. 2021. 8. 17. [Git ๋ช ๋ น์ด ์ ๋ฆฌ] Repository์ add, commit, push, pull ํ๊ธฐ [Git] Repository์ main branch๋ก add, commit, push, pull ํ๊ธฐ //๋ก์ปฌ ๊น ์ ์ฅ์ ์์ฑ(.git ํด๋ ์์ฑ) $ git init //Working directory -> Staging Area $ git add [directory] $ git add . //Staging Area -> repository(.git) $ git commit -m "commit message" //add + commit ํ๋ฒ์ $ git commit -am "commit message" //์๊ฒฉ์ ์ฅ์์ ์ฐ๊ฒฐ $ git remote add origin [์๊ฒฉ์ ์ฅ์ ์ฃผ์] //ํ์ฌ ์ฐ๊ฒฐ๋ ์๊ฒฉ์ ์ฅ์ ํ์ธํ๊ธฐ $ git remote -v //์ฐ๊ฒฐ๋ ์๊ฒฉ์ ์ฅ์ ์ญ์ ํ๊ธฐ $ git remote.. 2021. 7. 30. ์ด์ 1 ๋ค์