We have been trying to get git-subtree working on a project (with git version 1.7.9.4) and have run into a bit of a complication. Someone else previous added the subtree wit
This also happens, if the current clone is a partial clone (e.g., when using --depth=1). This is the default at GitHub Actions V2.
In the case of GitHub actions, this can be configured when using fetch-depth: 0 at the checkout step:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v2
with:
ref: master
fetch-depth: 0