eclipse-jgit / jgit

JGit, the Java implementation of git
https://www.eclipse.org/jgit/
Other
127 stars 37 forks source link

Add `restore` operation #20

Open rpost opened 7 months ago

rpost commented 7 months ago

Description

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

Motivation

Reference git implementation supports that.

Alternatives considered

No response

Additional context

No response

kumarp149 commented 2 months ago

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

msohn commented 2 months ago

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.

kumarp149 commented 1 month ago

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?