<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/57109>57109</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] How to only format new commits content in git
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          LimingFang
      </td>
    </tr>
</table>

<pre>
    Suppose we use git for version control, and the project doesn't use clang-format before( use cpp-lint instead). However, from now on, we want to introduce clang-format for better c++ coding style.
My question is, is it possible to only format new commits in order to retain the old committer info.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9Uc2O3CAMfhpyQRMlzOTvwGG3q9Uetqc-AQQnYUUgBWejefuadFateqiEBMb292PrYO7yx75tIQE_gO90zRb5FCL_hJhs8HwMHmNwTHzjyhuOC_Athg8YkZsAyTPR4dk4OuXnC7WuCrkGegAT_e_Utl2c9citTwjKMDGU_C0cQCQZeIph5T4cPPgckpJDUTUGaiBys4__wGeBGhAh8pGJZzqk01g_84R3ByWrXlj19P3Of-6QMNuwKSPbxMke2U1WO8gEwbs7f6B6OAhmXS1SmechGsKnmgioKM7WgzOPksxt_RTKAmTdtpXouv7WF0ZezXAdVIEWHUjWPP8tnDUv2ff_iPO84RxVXkWxRycXxC2x6xMTr3Tod9l1SfUUOPf5dV0ea6HQpkS-6dF0dTUUi2xgMBWIpjFDb1QjVN2PjZnE0NXtMExt4ZQGl7JcklhYKSohqr4W1a3uRFfqvtN6Eu1t0loPU8duFazKujITlyHORZSnBr3PiZLOJkx_kormPXuAL3y14xKifLcrreyVxlOciuUp9xei499k">