# agent: Clean up git exclusions after emergency \(\#38775\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c5219e8fd2dfdc1655306bce524d0aeb345b5259)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c5219e8fd2dfdc1655306bce524d0aeb345b5259

Requested commit: c5219e8fd2dfdc1655306bce524d0aeb345b5259

Commit: c5219e8fd2dfdc1655306bce524d0aeb345b5259

Tree: 6093b69d04e092770ad16b4c1ecc28e382cbb5bb

Author: Oleksiy Syvokon

Committer: GitHub

## Message

```
agent: Clean up git exclusions after emergency (#38775)

In some rare cases, the auto-generated block gets stuck in
`.git/info/exclude`. We now auto-clean it.

Closes #38374

Release Notes:

- Remove auto-generated block from git excludes if it gets stuck there.
```

## Parents

- [5612a961b02522a5e3f6292873fec1f853643734](https://git.cafe/gitcafe/zed/commit/5612a961b02522a5e3f6292873fec1f853643734?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c5219e8fd2dfdc1655306bce524d0aeb345b5259?format=markdown)
