Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Documentation: minor edits of git-lost-found manpage
author
J. Bruce Fields
<bfields@citi.umich.edu>
Mon, 16 Apr 2007 04:37:10 +0000
(
00:37
-0400)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 16 Apr 2007 08:10:28 +0000
(
01:10
-0700)
Minor improvements to grammar and clarity of lost-found manpage.
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-lost-found.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
5f2e1df
)
diff --git
a/Documentation/git-lost-found.txt
b/Documentation/git-lost-found.txt
index f52a9d7f680e3c581fe555f5a167b68c70c0a057..e48607f008395e365800b82d52eda9854519a6ce 100644
(file)
--- a/
Documentation/git-lost-found.txt
+++ b/
Documentation/git-lost-found.txt
@@
-12,23
+12,22
@@
SYNOPSIS
DESCRIPTION
-----------
Finds dangling commits and tags from the object database, and
DESCRIPTION
-----------
Finds dangling commits and tags from the object database, and
-creates refs to them in .git/lost-found/ directory. Commits and
-tags that dereference to commits
go to .git/lost-found/commit
-and other
s are stored in .git/lost-found/other directory
.
+creates refs to them in
the
.git/lost-found/ directory. Commits and
+tags that dereference to commits
are stored in .git/lost-found/commit,
+and other
objects are stored in .git/lost-found/other
.
OUTPUT
------
OUTPUT
------
-One line description from the commit and tag found along with
-their object name are printed on the standard output.
-
+Prints to standard output the object names and one-line descriptions
+of any commits or tags found.
EXAMPLE
-------
EXAMPLE
-------
-Suppose you run 'git tag -f' and mistype
d
the tag to overwrite.
+Suppose you run 'git tag -f' and mistype the tag to overwrite.
The ref to your tag is overwritten, but until you run 'git
The ref to your tag is overwritten, but until you run 'git
-prune',
it
is still there.
+prune',
the tag itself
is still there.
------------
$ git lost-found
------------
$ git lost-found
@@
-36,15
+35,15
@@
$ git lost-found
...
------------
...
------------
-Also you can use gitk to browse how
they relate to each other
-
and existing (probably old) tags
.
+Also you can use gitk to browse how
any tags found relate to each
+
other
.
------------
$ gitk $(cd .git/lost-found/commit && echo ??*)
------------
------------
$ gitk $(cd .git/lost-found/commit && echo ??*)
------------
-After making sure
that it is the object you are looking for, you
-can reconnect it to your regular .git/refs hierarchy.
+After making sure
you know which the object is the tag you are looking
+
for, you
can reconnect it to your regular .git/refs hierarchy.
------------
$ git cat-file -t 1ef2b196
------------
$ git cat-file -t 1ef2b196