GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GIT-SQUASH (1)

NAME

git-squash - Import changes from a branch

CONTENTS

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>
Search for    or go to Top of page |  Section 1 |  Main Index


GIT-SQUASH (1) December 2015

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.