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,410 points
35 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,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,410 points
26 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,410 points
46 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
946 views