summaryrefslogtreecommitdiff
path: root/Documentation/git-checkout.txt
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2009-08-15 11:48:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-08-15 22:17:47 (GMT)
commitd002ef4d9446b9fe4d0c397131edce58781df2f1 (patch)
tree50edd9828af40f2786937af4cd72b83c63b6ef14 /Documentation/git-checkout.txt
parent46b5139cae7306194a39fdaf5c6abc12ab531c84 (diff)
downloadgit-d002ef4d9446b9fe4d0c397131edce58781df2f1.zip
git-d002ef4d9446b9fe4d0c397131edce58781df2f1.tar.gz
git-d002ef4d9446b9fe4d0c397131edce58781df2f1.tar.bz2
Implement 'git reset --patch'
This introduces a --patch mode for git-reset. The basic case is git reset --patch -- [files...] which acts as the opposite of 'git add --patch -- [files...]': it offers hunks for *un*staging. Advanced usage is git reset --patch <revision> -- [files...] which offers hunks from the diff between the index and <revision> for forward application to the index. (That is, the basic case is just <revision> = HEAD.) Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-checkout.txt')
0 files changed, 0 insertions, 0 deletions