I installed Git For Windows 2.7.2 a few days ago. Now I have some problems with using optional tools Git For Windows
provides from cmd.exe
. In the previous version of Git For Windows
(or say msysgit
), I could configure these tools by modifying Git/etc/git-completion.bash
. For example:
alias ls='ls --show-control-chars --color=auto'
I used this way to make ls
display file names that contained Chinese characters normally. Now it seems this way doesn't work. In fact there is no git-completion.bash
under Git/etc/
. There is a git-completion.bash
under the folder Git/mingw64/share/git/completion
. I tried to copy it to Git/etc
and add the alias above, which didn't work either. These tools only works fine in Git Bash
. So how should I configure these tools together with git
to use them from cmd.exe
?