summaryrefslogtreecommitdiff
path: root/mergetools/kdiff3
diff options
context:
space:
mode:
authorLibravatar Jacob Keller <jacob.keller@gmail.com>2017-02-03 12:28:33 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-03 22:31:47 -0800
commit7326451bedaa67d29afe02184b166e28d9393c91 (patch)
tree9df2ca286dfa57669523b0043c545c67556f6622 /mergetools/kdiff3
parentGit 2.12-rc0 (diff)
downloadtgif-7326451bedaa67d29afe02184b166e28d9393c91.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 'mergetools/kdiff3')
0 files changed, 0 insertions, 0 deletions