eclipse-jgit/jgit

Add `restore` operation

Opened this issue · 3 comments

Description

See https://git-scm.com/docs/git-restore

Motivation

Reference git implementation supports that.

Alternatives considered

No response

Additional context

No response

Hi @msohn
I am willing to work on this feature enhancement

You are welcome to contribute this, follow the contributor guide and ask on the mailing list or visit the jgit chat if you need help.

HI @msohn
For certain scenarios, restore behaves exactly like checkout. Can we use the same checkout API or do we still need to create the methods for restore, separately?