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
• 10,100 points
381 views

1 answer to this question.

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,550 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
• 10,100 points
428 views
0 votes
1 answer
0 votes
2 answers

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

The closest way to view branches in ...READ MORE

answered Aug 2, 2019 in Git & GitHub by Sirajul
• 57,750 points
219 views
0 votes
1 answer

How do I solve a Git checkout error: updating paths is incompatible with switching branches?

This error occurs when you are checking ...READ MORE

answered Jul 26, 2018 in Git & GitHub by Sophie may
• 10,100 points
2,310 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
666 views
+2 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,550 points
3,642 views