# Unable to determine a parent commit to compare against in base branch after Squash and Merge

**URL:** <https://community.codecov.com/t/unable-to-determine-a-parent-commit-to-compare-against-in-base-branch-after-squash-and-merge/2480>\
**Category:** Support\
**Created:** [January 19, 2021, 8:21am UTC](https://community.codecov.com/t/unable-to-determine-a-parent-commit-to-compare-against-in-base-branch-after-squash-and-merge/2480 "2021-01-19T08:21:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [January 28, 2021, 11:49pm UTC](https://community.codecov.com/t/unable-to-determine-a-parent-commit-to-compare-against-in-base-branch-after-squash-and-merge/2480/4 "2021-01-28T23:49:46Z")

</div>

@mdemoret-nv can you share the Codecov output? If you are running GitHub Actions, you need to set `fetch-depth` to \> 1 or 0 in the `actions/checkout` stage.

---

_[View the full topic](https://community.codecov.com/t/unable-to-determine-a-parent-commit-to-compare-against-in-base-branch-after-squash-and-merge/2480)._
