Why Does Copilot Suddenly Appear In GitHub Commit Messages?!

Introduction Link to heading

A few days ago, I started noticing that Copilot was a co-author in some of my commits to my GitHub project. Since I write commit messages myself, I had no idea what this was about. The hint in GitHub just tells

YAML

Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>

Yes, I am using GitHub Copilot for development. But I haven’t seen any information that it will be mentioned in my commits as co-author. It just appeared one day.

My recent commit history on GitHub with Copilot being added as co-author.

My recent commit history on GitHub with Copilot being added as co-author.

Then, I stumbled across an article explaining the details. It’s a VS Code setting and it was changed recently. When you use VS Code’s internal Git tooling and your commit contains AI edits or a chat session, Copilot will be a co-author in this commit. This does not happen if you use external Git tooling outside of VS Code.

To disable this behavior, go to File > Preferences > Settings, then type git.addAICoAuthor in the search box, and change the setting to off.

VS Code setting to remove Copilot as co-author in commit messages.

VS Code setting to remove Copilot as co-author in commit messages.

After that, the original behavior is restored and Copilot won’t appear in your commit messages again. However, it won’t affect existing commits.

Conclusion Link to heading

An annoying move by Microsoft to silently add Copilot as a co-author in your commits when using VS Code. It would have been nice to get a heads up before the change. I would have changed the setting immediately if I had known…

Here Are My Top 5 Free extensions For VS Code For Flutter Developers Link to heading

In this article, I am going to present my top 5 free extensions for Visual Studio Code to you. They offer a jump start for your development progress.

The Best Flutter UI Library Alternatives Link to heading

Material and Cupertino design has been part of the Flutter ecosystem since the beginning. But sometimes you want your app to look differently without doing all the styling. In this article, I am presenting the best Flutter UI library alternatives found on pub.dev.

How To Show Test Coverage Of A Flutter App In Visual Studio Code Link to heading

Here is a short guide about how to show test coverage of a Flutter app in Visual Studio Code. With code coverage, you can identify parts of your app that aren’t tested yet. However, it doesn’t tell you if your tests are good or your app is free of bugs!