ipfs / ipfs/kubo

ipfs get should restore the state to referenced hash and not redo everything

Open
#4,655 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

#### Version information:

0.4.13-cc01b7f

#### Type:

Enhancement.

#### Description:

I think it would be great if `ipfs get` would work more like `git checkout`. So if any file got modified or deleted, it would revert those back.

Currently, if I run the same `ipfs get ` command twice in a row, it looks like the whole process is just restarted. I have a huge dataset and this takes quite some time. But sometimes some files in the dataset are temporary changes. Ideally, it should be easy to restore them back to a hashed version. But there is no easy way currently.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.