r-lib / gert

Simple git client for R
https://docs.ropensci.org/gert/
Other
146 stars 31 forks source link

FR: add `git_revert()` #206

Open olivroy opened 1 year ago

olivroy commented 1 year ago

To revert a commit, I have to use the command line, could gert implement git_revert()

It is present in libgit2. https://libgit2.org/libgit2/#HEAD/group/revert/git_revert

jeroen commented 9 months ago

Would you like to send a PR?

olivroy commented 9 months ago

I'd be interested. I would need a bit of guidance however. Which other gert function is the most similar for implementation?