How to solve the ‘Git commit -a error’?

0 votes

When I try to commit git changes and run the following command:

git commit -a

I get the following error

gvim -f: gvim: command not found
error: There was a problem with the editor 'gvim -f'.
Jul 5, 2018 in Git & GitHub by Sophie may
• 9,050 points
29 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

This happens when no editor is set. You can use a ‘-m’ option so you don’t have to use an editor.

git commit -a -m 'committing all files'
answered Jul 5, 2018 by Tyrion anex
• 8,280 points

Related Questions In Git & GitHub

0 votes
1 answer

How to forcefully commit a file to Git even if the file is ruled as unchanged?

This is simple, just follow the below ...READ MORE

answered Jul 11, 2018 in Git & GitHub by Sophie may
• 9,050 points
21 views
0 votes
1 answer
0 votes
1 answer

How to view the nested workflow of a local git repository?

The ‘git log’ command is your closest ...READ MORE

answered Jul 4, 2018 in Git & GitHub by Sophie may
• 9,050 points
38 views
0 votes
1 answer
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

git error: RPC failed; curl 56 GnuTLS recv error

This is simple, you’re probably missing openssl ...READ MORE

answered Sep 26, 2018 in Git & GitHub by Tyrion anex
• 8,280 points
771 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.