How can I push my submodules from github desktop?
Asked Answered
B

1

6

Everytime when I try to push the files on myflix, the submodules myflixdb01 cant be pushed and when I try to push it from github desktop,I get an error"commit failed-exit code 1 received.enter image description here

Brittney answered 6/2, 2020 at 0:41 Comment(1)
Check this out, it should help gist.github.com/gitaarik/…, normally the submodule lies in its own repo.Cooky
B
11

I've just figured it out and it's easier than you might think.

Simply proceed to "Add existing repository" and then select your submodule from your local project directory, you should see a directory named Submodules.

enter image description here

After that, you can work with your submodule just the same as any other repository.

Bravado answered 11/9, 2020 at 10:24 Comment(2)
Easy maybe but not good user interface.. I just don't see what is submodule of what in browser need to look at path or rename it, but I solved it somewhat with aliasesPincas
Just wanted to add that I also had to change the branch from 'detached head' to 'main'Wyn

© 2022 - 2024 — McMap. All rights reserved.