| OLD | NEW |
| (Empty) |
| 1 '\" t | |
| 2 .\" Title: git-freeze | |
| 3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] | |
| 4 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> | |
| 5 .\" Date: 04/10/2014 | |
| 6 .\" Manual: Chromium depot_tools Manual | |
| 7 .\" Source: depot_tools 68b1017 | |
| 8 .\" Language: English | |
| 9 .\" | |
| 10 .TH "GIT\-FREEZE" "1" "04/10/2014" "depot_tools 68b1017" "Chromium depot_tools M
anual" | |
| 11 .\" ----------------------------------------------------------------- | |
| 12 .\" * Define some portability stuff | |
| 13 .\" ----------------------------------------------------------------- | |
| 14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| 15 .\" http://bugs.debian.org/507673 | |
| 16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html | |
| 17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| 18 .ie \n(.g .ds Aq \(aq | |
| 19 .el .ds Aq ' | |
| 20 .\" ----------------------------------------------------------------- | |
| 21 .\" * set default formatting | |
| 22 .\" ----------------------------------------------------------------- | |
| 23 .\" disable hyphenation | |
| 24 .nh | |
| 25 .\" disable justification (adjust text to left margin only) | |
| 26 .ad l | |
| 27 .\" ----------------------------------------------------------------- | |
| 28 .\" * MAIN CONTENT STARTS HERE * | |
| 29 .\" ----------------------------------------------------------------- | |
| 30 .SH "NAME" | |
| 31 git-freeze \- Freeze all changes on a branch (indexed and unindexed)\&. | |
| 32 .SH "SYNOPSIS" | |
| 33 .sp | |
| 34 .nf | |
| 35 \fIgit freeze\fR | |
| 36 .fi | |
| 37 .sp | |
| 38 .SH "DESCRIPTION" | |
| 39 .sp | |
| 40 git freeze works a lot like git stash, in that it stores the current changes in
your working copy and index \fIsomewhere\fR\&. Unlike git stash, git freeze stor
es those changes on your current branch\&. This effectively allows you to \fIpau
se\fR development of a branch, work on something else, and then come back to exa
ctly the same working state later (by running git thaw)\&. | |
| 41 .sp | |
| 42 git freeze will make up to 2 commits on your branch\&. A commit with the message
FREEZE\&.indexed will contain all changes which you\(cqve added to your index (
like with \fIgit add\fR, \fIgit mv\fR, \fIgit rm\fR, etc\&.)\&. A commit with th
e message FREEZE\&.unindexed will contain all changes which were not in your ind
ex at the time you ran git freeze (freshly modified files, new files, etc\&.)\&. | |
| 43 .SH "EXAMPLE" | |
| 44 .sp | |
| 45 | |
| 46 .sp | |
| 47 .if n \{\ | |
| 48 .RS 4 | |
| 49 .\} | |
| 50 .nf | |
| 51 \fB$ git status \-\-short\fR | |
| 52 A added_file | |
| 53 AM added_file_with_unstaged_changes | |
| 54 D deleted_file | |
| 55 M modified_file | |
| 56 D unstaged_deleted_file | |
| 57 ?? unadded_file | |
| 58 \fB$ git freeze\fR | |
| 59 \fB$ git status \-\-short\fR | |
| 60 \fB$ git log \-n 2 \-\-stat\fR | |
| 61 commit 85b90eda860a6f62d95efdb29a09ebe2bace018d | |
| 62 Author: local <local@chromium\&.org> | |
| 63 Date: Thu Apr 10 08:54:56 2014 +0000 | |
| 64 | |
| 65 FREEZE\&.unindexed | |
| 66 | |
| 67 added_file_with_unstaged_changes | 1 + | |
| 68 modified_file | 1 + | |
| 69 unadded_file | 0 | |
| 70 unstaged_deleted_file | 1 \- | |
| 71 4 files changed, 2 insertions(+), 1 deletion(\-) | |
| 72 | |
| 73 commit 4d4db1b3bfbb42b0c9c87326bd522cc9d6946911 | |
| 74 Author: local <local@chromium\&.org> | |
| 75 Date: Thu Apr 10 08:54:56 2014 +0000 | |
| 76 | |
| 77 FREEZE\&.indexed | |
| 78 | |
| 79 added_file | 1 + | |
| 80 added_file_with_unstaged_changes | 1 + | |
| 81 deleted_file | 1 \- | |
| 82 3 files changed, 2 insertions(+), 1 deletion(\-) | |
| 83 \fB$ git thaw\fR | |
| 84 \fB$ git status \-\-short\fR | |
| 85 A added_file | |
| 86 AM added_file_with_unstaged_changes | |
| 87 D deleted_file | |
| 88 M modified_file | |
| 89 D unstaged_deleted_file | |
| 90 ?? unadded_file | |
| 91 .fi | |
| 92 .if n \{\ | |
| 93 .RE | |
| 94 .\} | |
| 95 .sp | |
| 96 .SH "SEE ALSO" | |
| 97 .sp | |
| 98 \fBgit-thaw\fR(1) | |
| 99 .SH "CHROMIUM DEPOT_TOOLS" | |
| 100 .sp | |
| 101 Part of the chromium \fBdepot_tools\fR(7) suite\&. These tools are meant to assi
st with the development of chromium and related projects\&. Download the tools f
rom \m[blue]\fBhere\fR\m[]\&\s-2\u[1]\d\s+2\&. | |
| 102 .SH "NOTES" | |
| 103 .IP " 1." 4 | |
| 104 here | |
| 105 .RS 4 | |
| 106 \%https://chromium.googlesource.com/chromium/tools/depot_tools.git | |
| 107 .RE | |
| OLD | NEW |