Git for Windows: .bashrc or equivalent configuration files for Git Bash shell
I've just installed Git for Windows and am delighted to see that it installs Bash.
I want to customize the shell in the same way I can under Linux (e.g. set up aliases like ll for ls -l), but I can't seem to find .bashrc or equivalent configuration files.
What should I be editing?
Top keyword - git bash bashrc
For git bash bashrc, you need to create a .bashrc file under ~/.bashrc
~ is usually your C:Users folder.
Typing echo ~ in the git bash bashrc will tell you what that folder is.
If you are unable to create then use this command:
copy > ~/.bashrc
This will give you an error that the command is not found but this will create the configuration file under ~/.bashrc folder.