Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to git subrepo push from SHA instead of a branch #641

Open
yk7823 opened this issue Nov 19, 2024 · 0 comments
Open

How to git subrepo push from SHA instead of a branch #641

yk7823 opened this issue Nov 19, 2024 · 0 comments

Comments

@yk7823
Copy link

yk7823 commented Nov 19, 2024

I'm using git subrepo in CI to automate management of satellite repos but I need a way to git subrepo push from a commit SHA instead of a branch in this context. Because I'm not able to checkout a branch in my use case, I get the following error:

"git-subrepo: Must be on a branch to run this command."

Is there a workaround? If not, are there any future plans to support this capability?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant