You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
3.7 KiB
Groff
108 lines
3.7 KiB
Groff
11 years ago
|
'\" t
|
||
|
.\" Title: git-freeze
|
||
|
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
||
|
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
|
||
11 years ago
|
.\" Date: 04/10/2014
|
||
11 years ago
|
.\" Manual: Chromium depot_tools Manual
|
||
11 years ago
|
.\" Source: depot_tools 68b1017
|
||
11 years ago
|
.\" Language: English
|
||
|
.\"
|
||
11 years ago
|
.TH "GIT\-FREEZE" "1" "04/10/2014" "depot_tools 68b1017" "Chromium depot_tools Manual"
|
||
11 years ago
|
.\" -----------------------------------------------------------------
|
||
|
.\" * Define some portability stuff
|
||
|
.\" -----------------------------------------------------------------
|
||
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
.\" http://bugs.debian.org/507673
|
||
|
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
.ie \n(.g .ds Aq \(aq
|
||
|
.el .ds Aq '
|
||
|
.\" -----------------------------------------------------------------
|
||
|
.\" * set default formatting
|
||
|
.\" -----------------------------------------------------------------
|
||
|
.\" disable hyphenation
|
||
|
.nh
|
||
|
.\" disable justification (adjust text to left margin only)
|
||
|
.ad l
|
||
|
.\" -----------------------------------------------------------------
|
||
|
.\" * MAIN CONTENT STARTS HERE *
|
||
|
.\" -----------------------------------------------------------------
|
||
|
.SH "NAME"
|
||
11 years ago
|
git-freeze \- Freeze all changes on a branch (indexed and unindexed)\&.
|
||
11 years ago
|
.SH "SYNOPSIS"
|
||
|
.sp
|
||
|
.nf
|
||
|
\fIgit freeze\fR
|
||
|
.fi
|
||
|
.sp
|
||
|
.SH "DESCRIPTION"
|
||
|
.sp
|
||
|
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 stores those changes on your current branch\&. This effectively allows you to \fIpause\fR development of a branch, work on something else, and then come back to exactly the same working state later (by running git thaw)\&.
|
||
|
.sp
|
||
|
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 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\&.)\&.
|
||
11 years ago
|
.SH "EXAMPLE"
|
||
11 years ago
|
.sp
|
||
|
|
||
11 years ago
|
.sp
|
||
|
.if n \{\
|
||
|
.RS 4
|
||
|
.\}
|
||
|
.nf
|
||
|
\fB$ git status \-\-short\fR
|
||
|
A added_file
|
||
11 years ago
|
AM added_file_with_unstaged_changes
|
||
11 years ago
|
D deleted_file
|
||
|
M modified_file
|
||
|
D unstaged_deleted_file
|
||
|
?? unadded_file
|
||
|
\fB$ git freeze\fR
|
||
|
\fB$ git status \-\-short\fR
|
||
|
\fB$ git log \-n 2 \-\-stat\fR
|
||
11 years ago
|
commit 85b90eda860a6f62d95efdb29a09ebe2bace018d
|
||
11 years ago
|
Author: local <local@chromium\&.org>
|
||
|
Date: Thu Apr 10 08:54:56 2014 +0000
|
||
11 years ago
|
|
||
|
FREEZE\&.unindexed
|
||
|
|
||
11 years ago
|
added_file_with_unstaged_changes | 1 +
|
||
|
modified_file | 1 +
|
||
|
unadded_file | 0
|
||
11 years ago
|
unstaged_deleted_file | 1 \-
|
||
11 years ago
|
4 files changed, 2 insertions(+), 1 deletion(\-)
|
||
11 years ago
|
|
||
11 years ago
|
commit 4d4db1b3bfbb42b0c9c87326bd522cc9d6946911
|
||
11 years ago
|
Author: local <local@chromium\&.org>
|
||
|
Date: Thu Apr 10 08:54:56 2014 +0000
|
||
11 years ago
|
|
||
|
FREEZE\&.indexed
|
||
|
|
||
11 years ago
|
added_file | 1 +
|
||
11 years ago
|
added_file_with_unstaged_changes | 1 +
|
||
|
deleted_file | 1 \-
|
||
11 years ago
|
3 files changed, 2 insertions(+), 1 deletion(\-)
|
||
11 years ago
|
\fB$ git thaw\fR
|
||
|
\fB$ git status \-\-short\fR
|
||
|
A added_file
|
||
11 years ago
|
AM added_file_with_unstaged_changes
|
||
11 years ago
|
D deleted_file
|
||
|
M modified_file
|
||
|
D unstaged_deleted_file
|
||
|
?? unadded_file
|
||
|
.fi
|
||
|
.if n \{\
|
||
|
.RE
|
||
|
.\}
|
||
|
.sp
|
||
11 years ago
|
.SH "SEE ALSO"
|
||
|
.sp
|
||
|
\fBgit-thaw\fR(1)
|
||
|
.SH "CHROMIUM DEPOT_TOOLS"
|
||
|
.sp
|
||
11 years ago
|
Part of the chromium \fBdepot_tools\fR(7) suite\&. These tools are meant to assist with the development of chromium and related projects\&. Download the tools from \m[blue]\fBhere\fR\m[]\&\s-2\u[1]\d\s+2\&.
|
||
11 years ago
|
.SH "NOTES"
|
||
|
.IP " 1." 4
|
||
|
here
|
||
|
.RS 4
|
||
|
\%https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
||
|
.RE
|