# Use "restore" more consistently in the git panel \(\#25780\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 62fb555e18c79ee69b96bbf8737cb81c580c0ce8

Requested commit: 62fb555e18c79ee69b96bbf8737cb81c580c0ce8

Commit: 62fb555e18c79ee69b96bbf8737cb81c580c0ce8

Tree: 4e7117856c9ce83a962bb13041ca6db0a6a17a40

Author: Cole Miller

Committer: GitHub

## Message

```
Use "restore" more consistently in the git panel (#25780)

This PR replaces almost all uses of "discard" in the git panel UI with
"restore", since that's the verb we settled on for the project diff.

The only exception is in the confirmation prompt for restoring files,
where I've kept the "discard changes" language. I think consistency is
less important here and it's helpful to rephrase the action that's being
taken to emphasize that it's destructive.

Release Notes:

- N/A
```

## Parents

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

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