When I type the following command on Git, I get an error that vim is not a Git command.
How can I make it work without any errors?When I type the following command on another PC, there is no error.
Git uses git for windows.
[Command]
$git vimaaaa.html
[Error Contents]
git: 'vim' is not agit command.See'git --help'.
By default, git does not have a subcommand named vim, but
The PC that was able to use the subcommand vim is
git-vim
.(Self-made subcommands) It is possible that
The alias is
$git config --get alias.vim
can be found in the .
git-vim
in PATH is available on Windows
>where git-vim
I think you can check it in
The git vim
command does not exist.Do you mean you want to use vim when editing commit messages?If so,
EDITOR=vim
You can achieve this by setting the environment variables for the .
© 2024 OneMinuteCode. All rights reserved.