r-lib / gert

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

FR: Add git_unstage() #221

Closed olivroy closed 3 months ago

olivroy commented 3 months ago

to be able to revert git_add(). I thought that git_rm() would be the opposite of this, but git_rm() is actually just unlink() + staging. (I have come to believe that git_add() was equivalent to staging.

olivroy commented 3 months ago

Is it just git_reset_mixed()? If so, could it gain a file argument?