Skip to content

Any idea if it's possible to use for a custom .git dir on Windows? #7

@ian-h-chamberlain

Description

@ian-h-chamberlain

Hi, I'm starting to migrate to Windows for work (😭) and was trying to see if I could still use Fork for Windows to manage my dotfiles like I used to on macOS (for which Fork works beautifully)...

Do you know of a way to set this up so that Fork detects forkgit as a real git instance, such that it would work the same as it does on macOS? I tried a few different things, none of which seem to work so far:

  • Wrap forkgit's bin/git script into a .exe, copy over some Git helpers like bash.exe and sh.exe
  • Create a shortcut called git.exe to the wrapper script
  • ???

Admittedly, I am a total novice when it comes to Windows and in particular I am not sure what Fork is looking for when selecting a Git instance (other than it must be a *.exe according to the file dialog). Nothing I have tried so far has made the instance "stick", so I just thought I'd ask to see if you have any ideas or thoughts about it (maybe some OS-specific stuff in the script that could be made more portable? Idk)

Thanks! If I figure anything out I will try to document it here / open a PR, in case others are trying to do the same thing!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions