I'm using Cygwin and have configured my git settings there(ssh keys, usernames, etc).
How can i make cywin's git callable from windows shell so it uses cygwin's bash and it's settings?
Kinda like git-for-windows does, i can call git from cmd.exe but it gets interpreted by it's bash console.
I know msysgit uses a batch file of sorts to make this possible, but i've not yet understood it..
Mainly i need to provide git to PHPStorm and Android Studio, and i'd like to keep my ssh and git config in one place (ssh usernames/keys, git settings).
EDIT / UPDATE: Having not found a solution for my needs i currently have resorted to having both Cygwin and Git for windows installed and set my Cygwin home directory to my windows profile directory. This resolves the problem of having multiple config files but...
Now there are two more problems:
- My cygwin installation is now in two directories, C:\cygwin64 and my windows user folder, which makes backup more complicated and is tied to my username (another user couldn't use it)
- I might make a change in config files which could break Git Bash (eg. in .bashrc)