GIT-COUNT-OBJECTS(1) Git Manual GIT-COUNT-OBJECTS(1)NAME
git-count-objects - Count unpacked number of objects and their disk consumption
SYNOPSIS
git count-objects [-v] [-H | --human-readable]
DESCRIPTION
This counts the number of unpacked object files and disk space consumed by them, to help you decide when it is a good time to repack.
OPTIONS -v, --verbose
Report in more detail:
count: the number of loose objects
size: disk space consumed by loose objects, in KiB (unless -H is specified)
in-pack: the number of in-pack objects
size-pack: disk space consumed by the packs, in KiB (unless -H is specified)
prune-packable: the number of loose objects that are also present in the packs. These objects could be pruned using git prune-packed.
garbage: the number of files in object database that are neither valid loose objects nor valid packs
size-garbage: disk space consumed by garbage files, in KiB (unless -H is specified)
alternate: absolute path of alternate object databases; may appear multiple times, one line per path. Note that if the path contains
non-printable characters, it may be surrounded by double-quotes and contain C-style backslashed escape sequences.
-H, --human-readable
Print sizes in human readable format
GIT
Part of the git(1) suite
Git 2.17.1 10/05/2018 GIT-COUNT-OBJECTS(1)
Check Out this Related Man Page
GIT-UNPACK-OBJECTS(1) Git Manual GIT-UNPACK-OBJECTS(1)NAME
git-unpack-objects - Unpack objects from a packed archive
SYNOPSIS
git unpack-objects [-n] [-q] [-r] [--strict] <pack-file
DESCRIPTION
Read a packed archive (.pack) from the standard input, expanding the objects contained within and writing them into the repository in
"loose" (one object per file) format.
Objects that already exist in the repository will not be unpacked from the pack-file. Therefore, nothing will be unpacked if you use this
command on a pack-file that exists within the target repository.
See git-repack(1) for options to generate new packs and replace existing ones.
OPTIONS -n
Dry run. Check the pack file without actually unpacking the objects.
-q
The command usually shows percentage progress. This flag suppresses it.
-r
When unpacking a corrupt packfile, the command dies at the first corruption. This flag tells it to keep going and make the best effort
to recover as many objects as possible.
--strict
Don't write objects with broken content or links.
GIT
Part of the git(1) suite
Git 1.7.10.4 11/24/2012 GIT-UNPACK-OBJECTS(1)
Hi,,,
is there any possibility to install Linux in my P.C which is use Win98 without loose anything from my hard disk????
----------------------------------------------------------------------------------
Is it better for a newbie in this kind of OS to install Linux instead of... (5 Replies)
I would like to pull a column from a file and place it in a variable:
The file would look like this:
N.Korea gibberish garbage
S.Korea gibberish garbage
USA gibberish garbage
Iraq gibberish garbage
Canada gibberish garbage
and items in the first... (8 Replies)
hello
I am new to the UNIX I want to know what command is used
1.To know the Memory consumed by a process at a time .
2.To know the How many CPU's in a server.
3.To know the RAM size.
4.To know the Hard Disk size. (3 Replies)
Hello,
Whenever I transfer files between machines, I find a garbage character (^M) being appended to the end of every line of the file.
Can you suggest a script wherein I can eliminate the garbage character.
I tried sed 's/^M//g' < filename > filename1
...but it doesn't work. Also, this... (4 Replies)
hi all,
To summerize disk usage in human readable format we have "du -h" in linux,which gives the
disk usage in MBs.
do we have something similar in HP-UX ?
thanks,
amit (4 Replies)
I have a problem. I have a direcotry where i have files named as below
-rwxr-x--- 1 sadalbid dwro 953 Jan 4 17:03 tables.telg.subs.txt
-rwxr-x--- 1 sadalbid dwro 79 Jan 4 17:03 tables.telg.sub2.txt
-rw-r--r-- 1 sadalbid dwro 268 Jan 4 17:03 tables.telg.prty.txt... (16 Replies)
Hi all ,
I am new to HP-UX flavour of unix.
i am issuing simple "vi" comand on the command prompt it is showing me some garbage character in command prompt itself ..unreadable format.
I tried opening an existing file using the vi editor --and same thing
... (3 Replies)
Hi Guru's
I've a variable "COUNT", which has the total number of records.
I need to print the contents of COUNT in 8 digit form to a file.
If count is 1, I need to print 00000001
If count is 23, I need to print 00000023 same way
if count is 77898, I need to print 00077898.
the... (3 Replies)
Hello
On AIX 5, In a file system - I see no big files but still df shows no space available. What is tricky here?
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/fslv10 20.00 6.11 70% 2167 1% /data/d2
I have calculated all files conumption under... (3 Replies)
Hello Gurus,
We have a requirement to count the valid number of records in a comma delimited file with double quotes.
The catch here is..few records have a new line carriage within the double quotes,,say for ex:we have a file called accounts the record count is 4827..but the actual valid count... (5 Replies)
Hi
I am using Solaris8.I want to find the total disk space of my server.Can anyone please tell that which field in below mentioned code signifies the disk space and whether this space is in Mb or GB.
c11t0d52 <EMC-SYMMETRIX-5264 cyl 4 alt 2 hd 15 sec 64>
... (4 Replies)
Dear all,
I have data like below and i need to add coloumn before the COUNT field to see the Percentage out of all COUNT field value for respective raw.
=============================================
COUNT CODE sConnType tConnType... (6 Replies)
Hi All,
Hope all are doing good!! Am glad that i have utilized some ideas and written a code to make the disk space result comes better and it was successfully running in the production. The next update from my manager was to make this code to come in a table format with color added.
1)... (28 Replies)
On HP_UX i download the patches and then install with swinstall
On AIX,i found "service packs" but there are many,i have to install all service packs,or the latest is ok?
Thanks (5 Replies)