I am having an issue using git under Cygwin.
I am able to store values using
git config --global user.name <name>
This places the config file in the correct directory (cygwin64\home\user)
I can then use:
git config --global --list
to read these values
However and this is the issue I'm having
git config --global --edit
opens my configured editor (Sublime Text) but looks for .getconfig in home\seven instead of the correct directory of cygwin64\home\seven
I don't understand how git can know where to put these values but can't point the editor to the correct location for reading/editing them.
Please help and let me know if you need any more information.
Thanks
Update: Just tried to do a commit and it then opens my sublime text editor, but when trying to save the commit message I get the following error:
Unable to save C:\cygdrive\c\dev......git\COMMIT_EDITMSG Where dev is just a local folder at the root of C
I feel like I'm missing something obvious here