I have a Bitbucket Git repository managed with Sourcetree.
I have two folders that I want to commit, but I need to ignore all the files in these folders, because they contain only temporary files.
How can I do that?
Add this to .gitignore:
*
!.gitignore