GIT-FREEZE(1)

NAME
git-freeze - Freeze all changes on a branch (indexed and unindexed).

SYNOPSIS

git freeze

DESCRIPTION

git freeze works a lot like git stash, in that it stores the current changes in your working copy and index somewhere. Unlike git stash, git freeze stores those changes on your current branch. This effectively allows you to pause development of a branch, work on something else, and then come back to exactly the same working state later (by running git thaw).

git freeze will make up to 2 commits on your branch. A commit with the message FREEZE.indexed will contain all changes which you’ve added to your index (like with git add, git mv, git rm, etc.). A commit with the message FREEZE.unindexed will contain all changes which were not in your index at the time you ran git freeze (freshly modified files, new files, etc.).

EXAMPLE

    $ git status --short
    A  added_file
    AM added_file_with_unstaged_changes
    D  deleted_file
     M modified_file
     D unstaged_deleted_file
    ?? unadded_file
    $ git freeze
    $ git status --short
    $ git log -n 2 --stat
    commit 85b90eda860a6f62d95efdb29a09ebe2bace018d
    Author: local <local@chromium.org>
    Date:   Thu Apr 10 08:54:56 2014 +0000
        FREEZE.unindexed
     added_file_with_unstaged_changes | 1 +
     modified_file                    | 1 +
     unadded_file                     | 0
     unstaged_deleted_file            | 1 -
     4 files changed, 2 insertions(+), 1 deletion(-)
    commit 4d4db1b3bfbb42b0c9c87326bd522cc9d6946911
    Author: local <local@chromium.org>
    Date:   Thu Apr 10 08:54:56 2014 +0000
        FREEZE.indexed
     added_file                       | 1 +
     added_file_with_unstaged_changes | 1 +
     deleted_file                     | 1 -
     3 files changed, 2 insertions(+), 1 deletion(-)
    $ git thaw
    $ git status --short
    A  added_file
    AM added_file_with_unstaged_changes
    D  deleted_file
     M modified_file
     D unstaged_deleted_file
    ?? unadded_file

SEE ALSO

git-thaw(1)

CHROMIUM DEPOT_TOOLS

Part of the chromium depot_tools(7) suite. These tools are meant to assist with the development of chromium and related projects. Download the tools from here[1].

NOTES

1.  here
    https://chromium.googlesource.com/chromium/tools/depot_tools.git