I have a problem when I try to checkout to a branch. Im getting the error:
Please, commit your changes or stash them before you can switch branches. error: The following untracked working tree files would be overwritten by checkout: build/classes/bp/conf/db/user.sql build/classes/bp/conf/db/user_group.sql build/classes/bp/conf/db/user_info.sql build/classes/views.properties I cannot stash or commit them because those files are included in the .gitignore.
Please help.
git stash -ufor untracked files? Apparently you're going from a place where they are not ignored to where they are checked in, so checking them out would overwrite those in your work directory, even though they are now ignored.