OLD | NEW |
1 git-freeze(1) | 1 git-freeze(1) |
2 ============= | 2 ============= |
3 | 3 |
4 NAME | 4 NAME |
5 ---- | 5 ---- |
6 git-freeze - | 6 git-freeze - |
7 include::_git-freeze_desc.helper.txt[] | 7 include::_git-freeze_desc.helper.txt[] |
8 | 8 |
9 SYNOPSIS | 9 SYNOPSIS |
10 -------- | 10 -------- |
11 [verse] | 11 [verse] |
12 'git freeze' | 12 'git freeze' |
13 | 13 |
14 DESCRIPTION | 14 DESCRIPTION |
15 ----------- | 15 ----------- |
16 | 16 |
17 `git freeze` works a lot like `git stash`, in that it stores the current changes | 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` | 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 | 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 | 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`). | 21 exactly the same working state later (by running `git thaw`). |
22 | 22 |
23 `git freeze` will make up to 2 commits on your branch. A commit with the message | 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 | 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 | 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 | 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.). | 27 time you ran git freeze (freshly modified files, new files, etc.). |
28 | 28 |
| 29 By default `git freeze` will only freeze up to 100MB of untracked files. See |
| 30 'CONFIGURATION VARIABLES' for more details. |
| 31 |
| 32 |
29 EXAMPLE | 33 EXAMPLE |
30 ------- | 34 ------- |
31 demo:1[] | 35 demo:1[] |
32 | 36 |
| 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 |
33 SEE ALSO | 48 SEE ALSO |
34 -------- | 49 -------- |
35 linkgit:git-thaw[1] | 50 linkgit:git-thaw[1] |
36 | 51 |
37 include::_footer.txt[] | 52 include::_footer.txt[] |
38 | 53 |
39 // vim: ft=asciidoc: | 54 // vim: ft=asciidoc: |
OLD | NEW |