gitignore - How to "unignore" Visual Web Site *.refresh files when you have [Bb]in/* -


i'm using standard visual studio .gitignore @ https://github.com/github/gitignore/blob/master/visualstudio.gitignore

part of gitignore ignore bin folders, problem, because need include bin/*.refresh files visual studio web site projects.

when 1 has (local file) web site project in: c:\projects\myprojecta\myprojectweb references libraries stored "hint files" in c:\projects\myprojecta\myprojectweb\bin folder *.refresh.

so if reference (a non framework dll) ajaxcontroltoolkit.dll, in bin folder, end ajaxcontroltoolkit.dll , ajaxcontroltoolkit.dll.refresh. content of file indicates path of find dll. (let's ignore potential pathing problems when repo cloned, because we're checking in dlls _lib folder that's checked repo)

how 1 "unignore" *.refresh files found within visual studio web site project bin folders included clones of repo?

use exclamation mark.

**/[bb]in/* !**/[bb]in/*.refresh 

Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -