rubdottocom rubdottocom - 1 year ago 149
Git Question

How to ignore all files in a folder with a git repository in SourceTree?

I have a bitbucket Git repository managed with SourceTree.

I have 2 folders that I want to commit but I need to ignore all the files in theses folders because contains temporary files.

How can I do that?

Thank you!

Answer Source

Add this to .gitignore:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download