Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Git Error on Commit

$
0
0

I'm having a problem using git to commit a change.

 

When I run it through IntelliJ I get the error message.  There is no other information.

 

Error executing git commit --only -F /tmp/git-commit-msg-222753429846841566.txt -- my/dir/UserFactory.java

 

If I run it through the command line, it works as I expect it.

 

I'm using a post-commit hook to update my copyright notices and this seems to be the root cause of the problem.

 

Is there a way to turn up the error reporting when running git?  Is it possible that my hook is returning a non-zero value which IntelliJ is reporting as a failure?


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>