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,850 points
62 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,270 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,850 points
41 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 in Git & GitHub by Sirajul
• 29,340 points
76 views
0 votes
1 answer
+13 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,380 points
174 views
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,270 points
1,326 views