I’ve been testing using gradle on my existing maven project, using a new branch in git, and now it won’t let me switch back to the master branch. ‘git checkout master’ produces the following error:
error: Your local changes to the following files would be overwritten by checkout:
Please commit your changes or stash them before you switch branches.
I only thought to add the .gradle directory to my gitignore file after-the-fact, which may be part of the problem.
I’m running Gradle 4.0.1 (installed via homebrew on a Mac, should that matter).
Is it safe to delete those files? Or… how best to proceed?