git-squash man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

GIT-SQUASH(1)							 GIT-SQUASH(1)

NAME
       git-squash - Import changes from a branch

SYNOPSIS
       git-squash <source-branch|commit ref> [<commit-message>]

DESCRIPTION
       Produce	the  working  tree and index state as if a real merge happened
       without the commit or merge marks.

OPTIONS
       <source-branch>

       Branch to squash on the actual branch.

       <commit reference> A commit reference  (has  to	be  from  the  current
       branch)	can  also  be  used  as the first argument. A range of commits
       sha..HEAD will be squashed.

       <commit-message>

       If commit-message is given, commit the squash result.

EXAMPLES
       $ git squash my-other-branch
       Updating a2740f5..533b19c
       Fast-forward
       Squash commit -- not updating HEAD
	my-changed-file | 1 +
	1 file changed, 1 insertion(+)
       $ git commit -m "New commit without a real merge"

       $ git squash HEAD~3 "Commit message"

AUTHOR
       Written by Jesús Espino <jespinog@gmail.com>

REPORTING BUGS
       <https://github.com/tj/git-extras/issues>

SEE ALSO
       <https://github.com/tj/git-extras>

				 December 2015			 GIT-SQUASH(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net