Running dotnet-format some.sln --verbosity diagnostic will create a file called formatDiagnosticLog.binlog next to the solution file. There doesn't seem to be a way to redirect this to another directory, rename it or disable it.
We want to keep diagnostic output to be able to detect issues with the solution loading, but adding files next to the solution makes the experience pretty bad for local enlistments since git will pick it up as a new file to be added.
Ideally there would be a way to disable writing of the file from command line, or at the very least ability to specify the file path to write it to.