In this article, we'll go over common reasons for missing commits and duplicate commits.
If you are unable to find a commit in one or all of your reports, check to see if any of the below reasons apply to your missing commit.
Are your repositories completely updated?
Sometimes your data might be in the process of updating. Your repos are updated approximately every 2-3 hours - so long as there is a connection to your repo. If your repositories are not successfully updating, refer to this help document on blocked repositories for common causes and troubleshooting solutions.
Have you pushed your commit to the server?
Flow will not see your commit until it has been pushed to the server.
Is your commit hitting our outlier detection?
If you see a commit in the Work logbut not in the Snapshot report you might be hitting our outlier detection. The Work log is a record of truth and will have all of your commits. If your commit is hitting outlier detection it will not be included in calculations on any other report. We created outlier detection to remove commits from metrics that are likely not done by a real human in one day - things like minified js files, or importing a library.
Has your commit been squashed?
If your commit has been squashed, you will not see your original pre-squashed commit in Flow. Flow will display the revised commit post-squash since we look to Git for the record of truth for your commit data. If you would like more information on how we handle squashed commits check out out our other resources:
- Can I see my pre-squashed commits?
- Does squashing commits change the stats in Flow?
- Git Squashing: An Illustrated Guide
Has your commit been amended?
If your commit has been amended, just like squashing you will not see the original commit in your reports. Flow will display the revised commit post-amend since we look to Git for the record of truth.
Do you commonly Git push --force?
If you force push your local work to a remote server without pulling in new work that has recently been merged, you risk overwriting this work thereby altering your Git history and deleting commits.
Still don't see the commit?
Email us at email@example.com and let us know.
If you're looking at the Work logorSnapshotReport and notice two commits that look suspiciously similar, are they actually the same?
We filter by unique commit SHAs in all of the reports. So chances are, the duplicate commits you are seeing are actually unique…
To investigate, you can verify by clicking on a link to the commit.
This will take you to your git host, where you can inspect the URL, and you should be able to see that the identifier at the end of the link (commit SHA) is unique.
Still think you're seeing double? Let us know!
If you need help, please email firstname.lastname@example.org for 24/7 assistance.