0

Whenever I try to change branches or commits, it says my android/app/gradlew.bat has been modified. I have closed and even deleted Android Studio, all terminals, even killed akd and other Android related events in Activity Monitor but when I check the file changes, gradlew.bat keeps being updated and I can't figure out what is modifying it.

I'd like to avoid git ignoring it as we want to keep our Gradle versions synced on our team.

Ian
  • 1,746
  • 1
  • 15
  • 28
  • Does this answer your question? [Unstaged changes left after git reset --hard](https://stackoverflow.com/questions/11383094/unstaged-changes-left-after-git-reset-hard) – RedShirt Nov 09 '21 at 16:21

1 Answers1

-1

My teammate just sent me this StackOverflow that solved it for me:

Unstaged changes left after git reset --hard

git rm .gitattributes
git add -A
git reset --hard
Ian
  • 1,746
  • 1
  • 15
  • 28