First time here? Check out the FAQ!
1

Using .gitignore with Wing

  • retag add tags

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?

RAMiesem's avatar
13
RAMiesem
asked 2022-05-27 15:21:32 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

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.

Wingware Support's avatar
4k
Wingware Support
answered 2022-05-31 09:39:02 -0600, updated 2022-05-31 09:40:12 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

Thanks! I appreciate it!

RAMiesem's avatar
13
RAMiesem
answered 2022-05-31 10:58:30 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer