summaryrefslogtreecommitdiff
path: root/Documentation/git-read-tree.txt
diff options
context:
space:
mode:
authorLibravatar Pat Notz <patnotz@gmail.com>2010-11-02 13:59:11 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-11-04 13:53:35 -0700
commit89ac1223c08a19a83f6efb32234ed8665d5ad1ee (patch)
tree721500be05711226cf225f4489f4ddaf89ebf2dc /Documentation/git-read-tree.txt
parentadd tests of commit --fixup (diff)
downloadtgif-89ac1223c08a19a83f6efb32234ed8665d5ad1ee.tar.xz
commit: --squash option for use with rebase --autosquash
This option makes it convenient to construct commit messages for use with 'rebase --autosquash'. The resulting commit message will be "squash! ..." where "..." is the subject line of the specified commit message. This option can be used with other commit message options such as -m, -c, -C and -F. If an editor is invoked (as with -c or -eF or no message options) the commit message is seeded with the correctly formatted subject line. Example usage: $ git commit --squash HEAD~2 $ git commit --squash HEAD~2 -m "clever comment" $ git commit --squash HEAD~2 -F msgfile $ git commit --squash HEAD~2 -C deadbeef Signed-off-by: Pat Notz <patnotz@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-read-tree.txt')
0 files changed, 0 insertions, 0 deletions