Skip to content
New issue

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

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

Already on GitHub? # to your account

Keep child repo history when pushing #6

Open
minimaluminium opened this issue Jul 13, 2022 · 1 comment
Open

Keep child repo history when pushing #6

minimaluminium opened this issue Jul 13, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@minimaluminium
Copy link

👋 Would it be possible to keep the history of the child repo when using this action? I tried it without the force argument thinking it'd do normal push instead of replacing the history, but got an error error: failed to push some refs to ''.

My config is:

- uses: nxtlvlsoftware/git-subtree-action@1.1
  with:
    repo: 'owner/repo'
    path: 'packages/name'
    deploy_key: ${{secrets.GITHUB_DEPLOY_KEY}}
    branch: main
@JackNoordhuis
Copy link
Member

It should be possible and is something I'm going to look into soon. It will require some more setup/action config and there has to be some way to resolve merge conflicts.

@JackNoordhuis JackNoordhuis added the enhancement New feature or request label Jul 24, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants