Ask Your Question

Using .gitignore with Wing

asked 2022-05-27 15:21:32 -0500

RAMiesem's avatar

I'm using a local install of git on my machine for a couple of small projects, and I've noticed that Wing doesn't seem to respect the contents of my .gitignore file when listing files to be added/committed to the repository. Is there some additional configuration or steps I need to take in order to make this happen?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2022-05-31 09:39:02 -0500

updated 2022-05-31 09:40:12 -0500

It looks like Wing does not try to use .gitignore to decide about what is shown in the Project view, I think on the assumption that you may want to still see files that you don't commit to the repository.

You can edit the Hidden and Temporary Files file filter in the Files > File Types > File Filters preference to add things to exclude from the view. This is the default for what's excluded. You can also right-click on items in the Project view to manually Remove/Exclude specific items or right click on a directory for Directory Properties.

We'll try to make this more flexible.

edit flag offensive delete link more

answered 2022-05-31 10:58:30 -0500

RAMiesem's avatar

Thanks! I appreciate it!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2022-05-27 15:21:32 -0500

Seen: 157 times

Last updated: May 31 '22