git_undo {git4r}R Documentation

Reset To Any Previous Commit

Description

Reset working directory to any previous commit, or action. This will not change the active branch so do this first if you want to continue on a different branch. All previous commits are shown, even if the branch they were on has been deleted, and this undo 'reset' itself will appear as a 'reflog' action.

Usage

git_undo(top = 10)

Arguments

top

Number of undo commits to show

Value

Invisible NULL


[Package git4r version 0.1.2 Index]