summaryrefslogtreecommitdiff
path: root/git-apply-patch-script
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-09 12:51:01 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-09 12:51:01 -0700
commit438195ccedce7270cf5ba167a940c90467cb72d7 (patch)
tree57b0518f32c7f43327e6ccb9bd91dedcceae77d7 /git-apply-patch-script
parent98a96b00b88ee35866cd0b1e94697db76bd5ddf9 (diff)
downloadgit-438195ccedce7270cf5ba167a940c90467cb72d7.tar.gz
git-read-tree: add "--reset" flag
This is the same as "-m", but it will silently ignore any unmerged entries, which makes it useful for efficiently forcing a new position regardless of the state of the current index file. IOW, to reset to a previous HEAD (in case you have had a failed merge, for example), you'd just do git-read-tree -u --reset HEAD which will also update your working tree to the right state. NOTE! The "update" will not remove files that may have been added by the merge. Yet.
Diffstat (limited to 'git-apply-patch-script')
0 files changed, 0 insertions, 0 deletions