[GIT] .gitignore๊ฐ ์ ์์ ์ผ๋ก ์๋ํ์ง ์์ ๋
gitignore๊ฐ ์ญ์ ๋์ด ๋ค์ ์ถ๊ฐ ํ ์ ์์ ์ผ๋ก ์๋ํ์ง ์์ ignore๋์ผํ๋ ์น๊ตฌ๋ค์ด change์ํ๊ฐ ๋๋ฉด
git์ ์บ์๊ฐ ๋ฌธ์ ๊ฐ ๋๋๊ฑฐ๋ผ ์๋ ๋ช ๋ น์ด๋ก ์บ์ ๋ด์ฉ์ ์ ๋ถ ์ญ์ ํ ๋ค์ add Allํด์ ์ปค๋ฐํ๋ฉด ๋๋ค๊ณ ํ๋ค!
git rm -r --cached .
git add .
git commit -m "fixed untracked files"
reference
https://stackoverflow.com/questions/11451535/gitignore-is-ignored-by-git
'GIT' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[GIT] ํน์ commit์ ๊ธฐ์ค์ผ๋ก ๋ธ๋์น ๋ง๋ค๊ธฐ (0) | 2023.06.15 |
---|---|
[GIT]GitLab์์ GitHub์ผ๋ก ์ ์ฅ์ ์ฎ๊ธฐ๊ธฐ : ์๋ ์ฌ์ด์ง์ง ์๋ ๋ฌธ์ ํด๊ฒฐํ๊ธฐ (0) | 2022.09.01 |
[GIT]github์ ์ ๋ก๋ ๋ ํ์ผ ๋๋ ํด๋ ์ญ์ (0) | 2022.08.06 |
GIT (0) | 2022.03.06 |
๋๊ธ