Datree's Knowledge Base

Welcome to Datree's knowledge base You'll find comprehensive guides and documentation to help you start working with datree as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Fix unrecognized commits

When an author or committer’s email is not configured correctly, the commit is not associated with the correct user, and it is almost impossible to trace who is responsible for which piece of code.

To troubleshoot the root cause do the following:
Make sure the listed email address is your correct email address

A. Adding an email address to your GitHub account

  1. Follow the steps in this guide

  2. Re-run the policy

B. Updating your git configuration settings

  1. Open command line inside the git dir and type the following
    $ git config --global user.email

Is the listed email address in the terminal is correct?

No - This is not my correct email address

Set your username and email address:

$ git config --global user.email johndoe@example.com
$ git config --global user.name "John Doe"
Yes - This is my correct email address

You have a local git config file inside your repository dir which overwrites your global git config - fix it

  1. Rewrite your commit(s) history

  2. Push the changes to the remote branch - Datree automatically scans your changes.

Fix unrecognized commits

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.