Support icon indicating copy to clipboard operation
Support copied to clipboard

Git submodule support

Open victorhugoof opened this issue 5 years ago • 8 comments

Add submodule support to GitFiend

victorhugoof avatar Feb 19 '20 17:02 victorhugoof

Thanks @victorhugoof. I definitely want to add much better support for this in the future.

In the meantime in case anyone reading this doesn't know: To use submodules right now, just open the submodule like you would any other Git repo in GitFiend.

GitFiend avatar Feb 19 '20 22:02 GitFiend

Vscode with the gitlens has really great submodule support. If you are looking for something to model off of, please start there! GitHub desktop has the lacking submodule support.

holterb avatar Feb 23 '20 13:02 holterb

Thanks @victorhugoof. I definitely want to add much better support for this in the future.

In the meantime in case anyone reading this doesn't know: To use submodules right now, just open the submodule like you would any other Git repo in GitFiend.

Just tried to do this and it doesn't recognize the submodule as a git repo. Not sure why, but yeah I would love to see support for this. It would completely help me transition away from GitKraken which now behind a paywall for private repos.

smandes86 avatar Mar 18 '20 15:03 smandes86

@smandes86 GitFiend checks for a .git folder in the folder you open. Are you sure you got the correct folder? It can easy to get this wrong on the first try, unfortunately.

GitFiend avatar Mar 19 '20 07:03 GitFiend

Just tried to do this and it doesn't recognize the submodule as a git repo. Not sure why, but yeah I would love to see support for this. It would completely help me transition away from GitKraken which now behind a paywall for private repos.

I'm running into the same issue. Seems to happen because the submodule does not contain a .git folder but a .git file that points to the .git folder of the parent repository in the form of gitdir: ../.git/modules/my-submodule

mroettgen avatar Apr 12 '22 13:04 mroettgen

@mroettgen Oh thanks for the explanation, that makes sense. I will see if I can fix this soon.

GitFiend avatar Apr 12 '22 23:04 GitFiend

Unfortunately it fails with error message. The reason must be as described above. image

igorpupkinable avatar Jun 21 '22 06:06 igorpupkinable

I believe this is fixed because it works in my setup with 12 submodules as well as top level repository. Thank you so much!

igorpupkinable avatar Aug 31 '22 13:08 igorpupkinable