ignore folder when pull request to master

51 views Asked by At

We are using Azure Repository via WebBrowser. We have TEST branch:

TEST
Folder1
  |- folder0001
  |- folder0002
FolderA
  |- folderAAAA
  |- folderBBBB

and we would like always to ignore Folder1 when we pull to master and keep it like this:

MASTER
FolderA
  |- folderAAAA
  |- folderBBBB

Is there any option to achieve this and igonre Folder1?

1

There are 1 answers

0
wade zhou - MSFT On

Is there any option to achieve this and igonre Folder1?

Currently there's no built-in feature to ignore the files from DevOps Pull Request.

Entries in a .gitignore or exclude file have no effect on files that Git already tracks. Even you add ignore/exclude, the file will still be listed in Pull request.

enter image description here

You can vote on the user voice ticket to raise its priority, which will engage the product manager to consider the feature.