E
E
Evgeny Glebov2017-03-22 18:17:29
Team Foundation Server
Evgeny Glebov, 2017-03-22 18:17:29

How to exclude a folder from tfs?

Hello. I accidentally committed a folder with logs and now every time it includes them in check in. You have to do exclude every time. How can I exclude this folder? So that locally it is not deleted.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Evgeny Glebov, 2017-03-23
@GLeBaTi

A crutch of course, but I decided this way:
(it is required to exclude the MyProj / Bin folder from version control but leave it on the local.
1) Added the "Bin" folder (which I accidentally made) to tfsignore
2) Moved the folder to another location (disk D)
3 ) did a rollback for this folder in Source control explorer and deleted the remnants of this folder.
4) moved the "Bin" folder back to MyProj

D
Dmitry Kovalsky, 2017-03-23
@dmitryKovalskiy

The spell to search for "tfs ignore folder".
For example - stackoverflow.com/questions/24143925/get-tfs-to-ig...

0
0xD34F, 2018-01-23
@grom740

Check what you get when converting to a number:

const arr = str.split(' ').map(n => isNaN(n) ? n : +n);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question