mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-06 00:18:38 -05:00
[GH-ISSUE #634] Cannot push a stack change to non-main branch with git repo #2326
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Chuckame on GitHub (Jun 28, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/634
Issue
When having a stack from a git repository with a non
mainbranch, it doesn't work.Error message during push:
I've configured
masterbut it still usesmainTo reproduce
main@Dlotan commented on GitHub (Jun 29, 2025):
did you try redeploy first? I had this problem and a workaround was to do a redeploy before being able to make changes from komodo
@ridvan-cln commented on GitHub (Jul 13, 2025):
Not OP but i have the same issue, redeploy does not fix it for me.
@hillbicks commented on GitHub (Aug 8, 2025):
Yes, same here. I cloned a github repo to my forgejo instance (branch master), added the repo in komodo and then added the stack. Go to info tab to make changes, for example change a port that is already used in another container. You can't deploy the stack because the deploy fails without being able to make the changes.
I think komodo should also take the branch from the repo config and not assume the branch name to be main.
@mbecker20 commented on GitHub (Aug 29, 2025):
Tracked down the issue and the linked commit should fix it. It will be included in 1.19.2 (likely Sunday)
@mbecker20 commented on GitHub (Sep 1, 2025):
Hi, v1.19.2 is now out and this issue should now be fixed for Stacks, Builds, and Resource Syncs which use Linked Repos.