Closed olivroy closed 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.
git_add()
git_rm()
unlink()
Is it just git_reset_mixed()? If so, could it gain a file argument?
git_reset_mixed()
to be able to revert
git_add()
. I thought thatgit_rm()
would be the opposite of this, butgit_rm()
is actually justunlink()
+ staging. (I have come to believe thatgit_add()
was equivalent to staging.