aboutsummaryrefslogtreecommitdiff
path: root/khash.h
diff options
context:
space:
mode:
authorJacob Keller <jacob.keller@gmail.com>2017-02-15 16:22:12 -0800
committerJunio C Hamano <gitster@pobox.com>2017-02-16 13:38:02 -0800
commitf94baa4d9395b7635768f5548d800132ff36958d (patch)
treec37b17b9debde35237c0435dd432bb4d5e2dbb28 /khash.h
parentae86372fcd1204c9acda8ea7f91d2995bdb39ab1 (diff)
downloadgit-f94baa4d9395b7635768f5548d800132ff36958d.tar.gz
git-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 'khash.h')
0 files changed, 0 insertions, 0 deletions