How To Format Only Staged Files With Spotless
As a developer, you know that keeping your code clean and consistent is crucial for the success of any project. One tool that can help you achieve this is Spotless, a powerful code formatting plugin for Gradle and Maven. However, you may find yoursel...
blog.joetr.com3 min read
Ahmad Wehbe
Hey Joe. This runs spotlessApply on all the project. but it only adds and commits staged files. Is there a way to run spotless only on staged files?