# devcontainer: Implement remote support for git checkpoint operations \(\#48896\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fbdeb934519e955fd33653ff00a9ad29752fed5f

Requested commit: fbdeb934519e955fd33653ff00a9ad29752fed5f

Commit: fbdeb934519e955fd33653ff00a9ad29752fed5f

Tree: 831376e737ef3fee9e13119d1d30bbb3a3e52c7b

Author: Oliver Azevedo Barnes

Committer: GitHub

## Message

```
devcontainer: Implement remote support for git checkpoint operations (#48896)

Closes #47907

Implements the four git checkpoint operations (`create`, `restore`,
`compare`, `diff`) that had been stubbed out for remote repositories,
and related test infrastructure.

Testing steps:

1. Open a project with a `.devcontainer` configuration and connect to
the Dev Container
2. Open an Agent thread and ask the agent to make a code change
3. After the agent completes, verify the "Restore from checkpoint"
button appears (previously missing in Dev Container sessions)
4. Click "Restore from checkpoint" and confirm the file reverts to its
prior state

Release Notes:

- Added support for git checkpoint operations in remote/Dev Container
sessions, restoring the "Restore from checkpoint" button in Agent
threads.

---------

Co-authored-by: KyleBarton <kjb@initialcapacity.io>
```

## Parents

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

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