본문으로 바로가기

[GIT] executing git commit only 에러 해결

category Helloworld!/GIT 2014. 6. 11. 09:58

git에서 다른 브런치와 merge 하다가 conflict 나서 처리한 후 commit하니깐

executing git commit only ... 라는 에러가 뜬다.


해결방법


Git terminal(또는 Git bash)에 들어가서 


git status라고 치면 어떤 파일을 commit 해야하는지 리스트가 뜨는데 그 파일들을

다시 git add 명령어로 add 시켜준다.


ex)

$ git status

change to be committed :

modifted : homepage/index.php


$ git add homepage/index.php


마지막으로 commit을 해주면 해결된다.


$ git commit -i * -m "commit message"


참고 사이트 : http://stackoverflow.com/questions/22452519/rubymine-commit-failed-with-errors