summaryrefslogtreecommitdiff
path: root/Documentation/rev-list-options.txt
diff options
context:
space:
mode:
authorLibravatar Jacob Keller <jacob.keller@gmail.com>2017-02-15 16:22:12 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-16 13:38:02 -0800
commitf94baa4d9395b7635768f5548d800132ff36958d (patch)
treec37b17b9debde35237c0435dd432bb4d5e2dbb28 /Documentation/rev-list-options.txt
parentRevert "reset: add an example of how to split a commit into two" (diff)
downloadtgif-f94baa4d9395b7635768f5548d800132ff36958d.tar.xz
reset: add an example of how to split a commit into two
It is often useful to break a commit into multiple parts that are more logical separations. This can be tricky to learn how to do without the brute-force method if re-writing code or commit messages from scratch. Add a section to the git-reset documentation which shows an example process for how to use git add -p and git commit -c HEAD@{1} to interactively break a commit apart and re-use the original commit message as a starting point when making the new commit message. Signed-off-by: Jacob Keller <jacob.keller@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/rev-list-options.txt')
0 files changed, 0 insertions, 0 deletions