์ค๋์ git push ์ค ๋ฐ์ํ๋ ์๋ฌ ํด๊ฒฐ ๋ฐฉ๋ฒ์ ๋ํด์ ๊ณต์ ๋๋ฆฝ๋๋ค.
์ ์ ๊ฒฝ์ฐ IntelliJ์์ git push๋ฅผ ํ๋๋ ๋ฐ์ํ์์ต๋๋ค.
์๋ฌ๋ช
fatal: detected dubious ownership in repository at
์๋ฌ๋ฅผ ์ ์ฝ์ด๋ณด๋ dubious ownership ์ด๋ผ๋ ์๋ฉ์ ๋ดค์ ๋ ์์ ๊ถ ๊ด๋ จํด์ ๋ฌผ์ด๋ณด๋ ๋ฏ ํฉ๋๋ค.
๊ฒ์์ ํด๋ณด๋ ์์ ํ ํด๋๋ก ์ง์ ํ๋ฉด ํด๊ฒฐ๋ ์ ์๋ค๊ณ ํ์ฌ safe.directory ๋ช ๋ น์ด๋ก ๋์ํ๊ฒ ์ต๋๋ค.
ํด๊ฒฐ ๋ฐฉ๋ฒ
git config --global --add safe.directory ํ๋ก์ ํธ๊ฒฝ๋ก
ex) git config --global --add safe.directory D:/intelliJProject/ogx4/Springboot-jpa-noticeboard-sp
'DevOps > Git' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Git] ๊น ํ๋ก์ฐ(Git Flow) ๋? (0) | 2023.02.05 |
---|---|
[GitLab] ๊น๋ฉ ๋ง์ดํฌ๋ก์ํํธ(MS) ๊ณ์ SSO ์ค์ (0) | 2023.02.04 |
[GitLab] ๊น๋ฉ SSL์ ์ฉ ๋ฐ ์๋๊ฐฑ์ (0) | 2023.02.04 |
[GitLab] ๊น๋ฉ ๋ก๊ทธ์ธ ํ๋ฉด ์ปค์คํฐ๋ง์ด์ง (0) | 2023.02.04 |
[GitLab] ๊น๋ฉ ์ฐ๋ถํฌ(Ubuntu)์๋ฒ์ ์ธํ (0) | 2023.02.04 |