iannucci@chromium.org | a5d9502 | 2014-03-25 21:30:37 +0000 | [diff] [blame] | 1 | git-freeze(1) |
| 2 | ============= |
| 3 | |
| 4 | NAME |
| 5 | ---- |
| 6 | git-freeze - |
| 7 | include::_git-freeze_desc.helper.txt[] |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
| 11 | [verse] |
| 12 | 'git freeze' |
| 13 | |
| 14 | DESCRIPTION |
| 15 | ----------- |
| 16 | |
| 17 | `git freeze` works a lot like `git stash`, in that it stores the current changes |
| 18 | in your working copy and index 'somewhere'. Unlike `git stash`, `git freeze` |
| 19 | stores those changes on your current branch. This effectively allows you to |
| 20 | 'pause' development of a branch, work on something else, and then come back to |
| 21 | exactly the same working state later (by running `git thaw`). |
| 22 | |
| 23 | `git freeze` will make up to 2 commits on your branch. A commit with the message |
| 24 | `FREEZE.indexed` will contain all changes which you’ve added to your index (like |
| 25 | with 'git add', 'git mv', 'git rm', etc.). A commit with the message |
| 26 | `FREEZE.unindexed` will contain all changes which were not in your index at the |
| 27 | time you ran git freeze (freshly modified files, new files, etc.). |
| 28 | |
agable | 02b3c98 | 2016-06-22 07:51:22 -0700 | [diff] [blame] | 29 | By default `git freeze` will only freeze up to 100MB of untracked files. See |
| 30 | 'CONFIGURATION VARIABLES' for more details. |
| 31 | |
| 32 | |
iannucci@chromium.org | a5d9502 | 2014-03-25 21:30:37 +0000 | [diff] [blame] | 33 | EXAMPLE |
| 34 | ------- |
iannucci@chromium.org | 2198002 | 2014-04-11 04:51:49 +0000 | [diff] [blame] | 35 | demo:1[] |
iannucci@chromium.org | a5d9502 | 2014-03-25 21:30:37 +0000 | [diff] [blame] | 36 | |
agable | 02b3c98 | 2016-06-22 07:51:22 -0700 | [diff] [blame] | 37 | |
| 38 | CONFIGURATION VARIABLES |
| 39 | ----------------------- |
| 40 | |
| 41 | depot-tools.freeze-size-limit |
| 42 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 43 | This sets the size limit as an integer number of megabytes of untracked files |
| 44 | that git-freeze will be willing to put in suspended animation. A 0 or negative |
| 45 | limit disables the size-limit check entirely. *100* by default. |
| 46 | |
| 47 | |
iannucci@chromium.org | a5d9502 | 2014-03-25 21:30:37 +0000 | [diff] [blame] | 48 | SEE ALSO |
| 49 | -------- |
| 50 | linkgit:git-thaw[1] |
| 51 | |
| 52 | include::_footer.txt[] |
| 53 | |
iannucci@chromium.org | c050a5b | 2014-03-26 06:18:50 +0000 | [diff] [blame] | 54 | // vim: ft=asciidoc: |