๋ฌธ์ ์ํฉ
- ๋ก์ปฌ์ ํ๋ก์ ํธ ์์ฑ
- git init + init commit
- ๊นํ๋ธ์์ ๋ ํ์งํ ๋ฆฌ ์์ฑ + readme initial commit
- ๋ ๊ฐ์ ์๋ก ๋ค๋ฅธ ์์์ commit์ผ๋ก ๋จธ์ง ๋ถ๊ฐ๋ฅ
์๋ฌ ๋ฉ์ธ์ง
fatal : refusing to merge unrelated histories.
ํด๊ฒฐ ๋ฐฉ๋ฒ
- ์๋ก ๊ด๋ จ ์๋ ์ปค๋ฐ์ ๋จธ์ง ํ์ฉ ๋ช
๋ น์ด ์ ์ฉ
- --allow-unrelated-histories
- ex.)
- ๋จธ์ง ์ปค๋ฐ
- i ) vim edit mode
- ๋ฉ์ธ์ง ์์ฑ
- esc ) to quit input mode
- :wq ) save(wrote) and quiet
ํด๊ฒฐ ์๋ฃ
์ฐธ๊ณ
https://gdtbgl93.tistory.com/63
https://stackoverflow.com/questions/48007493/how-can-i-write-commit-message-in-git-console
'Error-log' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Sourcetree] ERR: This is not a valid working copy path. (0) | 2023.11.27 |
---|---|
spring) java.net.BindException: Address already in use (0) | 2022.02.04 |
ORA-00908: missing NULL keyword ๋๋ฝ๋ NULL ํค์๋ (0) | 2022.01.03 |
Sourcetree ๋ก ๊ณต์ ํ eclipse ํ๋ก์ ํธ tomcat ์ฐ๊ฒฐ ์๋ฌ. (0) | 2021.12.23 |