Pathspec error on git commit

When I try to commit changes to my project using the built-in RubyMine git | add and git | commit options I keep getting fatal errors like:

Error:error: pathspec 'features/authentication/administrator_logs_in.feature' did not match any file(s) known to git. error: pathspec 'features/authentication/modeller_logs_in.feature' did not match any file(s) known to git. error: pathspec 'features/authentication/forecaster_logs_in.feature' did not match any file(s) known to git. error: pathspec 'features/authentication/guest_logs_in.feature' did not match any file(s) known to git. error: pathspec 'features/authentication/data_manager_logs_in.feature' did not match any file(s) known to git. during executing git commit --only -F C:\Users\Tim\AppData\Local\Temp\git-commit-msg-6533175276977325116.txt -- app/models/country.rb features/region_management/delete_region.feature app/views/regions/new.html.haml features/region_classifier_management/create_region_classifier.feature .idea/tf.iml config/breadcrumbs.rb app/controllers/countries_controller.rb

... and a whole load more like that. If I hit git | commit again it (usually) works just fine. What's going wrong, and how do I fix it?

1 comment
Comment actions Permalink

Please check `git status` in the command line: what does it report, when RubyMine reports this commit error?

0

Please sign in to leave a comment.