So when I go to make a commit, I have to uncheck the app/build directory from the commit. I want to remove these files from being tracked.
Does my .gitignore
file look correct?
build/
app/build/
.idea
.gradle
I've tried
git rm -r --cached .
git add .
Which appears to work, git status
shows all build files have been deleted. So then I do a commit, and the files are deleted. But after building and the files changing, they show up on my next commit. Why is this, and why can't I untrack these files?