반응형
git push 오류
- 오류메시지
1 : Updates were rejected because the remote contains work that you do (깃에서 프로젝트 만들 떄 README.md 파
일생성해서 나는 오류 )
2 : git nothing to commit, working tree clean
- 해결방법
- git pull origin master
3 : fatal: refusing to merge unrelated histories ( 커밋 히스토리 연관성이없어서 merge 거절)
- 해결방법
- git pull origin master --allow-unrelated-histories
- 마지막으로 해주면 올라간다
git status
git add .
git push -u origin master
반응형
'오류' 카테고리의 다른 글
The attribute nativeQuery is undefined for the annotation type Query (0) | 2022.05.01 |
---|---|
ec2 port 8080 was already in use (0) | 2022.04.17 |
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. (0) | 2022.03.29 |
ErrorSQL Error: 1064, SQLState: 42000 (0) | 2022.03.17 |
Method put in org.json.JSONObject not mocked (0) | 2022.03.07 |
댓글