EnglishFrenchSpanish

OnWorks favicon

git-prune - Online in the Cloud

Run git-prune in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command git-prune that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


git-prune - Prune all unreachable objects from the object database

SYNOPSIS


git prune [-n] [-v] [--expire <expire>] [--] [<head>...]

DESCRIPTION


Note
In most cases, users should run git gc, which calls git prune. See the section
"NOTES", below.

This runs git fsck --unreachable using all the refs available in refs/, optionally with
additional set of objects specified on the command line, and prunes all unpacked objects
unreachable from any of these head objects from the object database. In addition, it
prunes the unpacked objects that are also found in packs by running git prune-packed. It
also removes entries from .git/shallow that are not reachable by any ref.

Note that unreachable, packed objects will remain. If this is not desired, see git-
repack(1).

OPTIONS


-n, --dry-run
Do not remove anything; just report what it would remove.

-v, --verbose
Report all removed objects.

--
Do not interpret any more arguments as options.

--expire <time>
Only expire loose objects older than <time>.

<head>...
In addition to objects reachable from any of our references, keep objects reachable
from listed <head>s.

EXAMPLE


To prune objects not used by your repository or another that borrows from your repository
via its .git/objects/info/alternates:

$ git prune $(cd ../another && git rev-parse --all)

NOTES


In most cases, users will not need to call git prune directly, but should instead call git
gc, which handles pruning along with many other housekeeping tasks.

For a description of which objects are considered for pruning, see git fsck's
--unreachable option.

Use git-prune online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 2
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 3
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 4
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • 5
    Sky Chart / Cartes du Ciel
    Sky Chart / Cartes du Ciel
    SkyChart is a software to draw chart of
    the night sky for the amateur astronomer
    from a bunch of stars and nebulae
    catalogs. See main web page for full
    download...
    Download Sky Chart / Cartes du Ciel
  • 6
    GSmartControl
    GSmartControl
    GSmartControl is a graphical user
    interface for smartctl. It allows you to
    inspect the hard disk and solid-state
    drive SMART data to determine its
    health, as w...
    Download GSmartControl
  • More »

Linux commands

  • 1
    abc2abc
    abc2abc
    abc2abc - a simple abc
    checker/re-formatter/transposer ...
    Run abc2abc
  • 2
    abc2ly
    abc2ly
    abc2ly - manual page for abc2ly
    (LilyPond) 2.18.2 ...
    Run abc2ly
  • 3
    coqmktop
    coqmktop
    coqmktop - The Coq Proof Assistant
    user-tactics linker ...
    Run coqmktop
  • 4
    coqtop
    coqtop
    coqtop - The Coq Proof Assistant
    toplevel system ...
    Run coqtop
  • 5
    g.copygrass
    g.copygrass
    g.copy - Copies available data files in
    the current mapset search path to the
    user�s current mapset. KEYWORDS:
    general, map management ...
    Run g.copygrass
  • 6
    g.dirsepsgrass
    g.dirsepsgrass
    g.dirseps - Internal GRASS utility for
    converting directory separator
    characters. Converts any directory
    separator characters in the input string
    to or from na...
    Run g.dirsepsgrass
  • More »

Ad