OnWorks favicon

git-annex-unused - Online in the Cloud

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

This is the command git-annex-unused 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



git-annex-unused - look for unused file content


git annex unused


Checks the annex for data that does not correspond to any files present in any tag or
branch, and prints a numbered list of the data.

After running this command, you can use the --unused option with many other git-annex
commands to operate on all the unused data that was found.

For example, to move all unused data to origin:

git annex unused; git annex move --unused --to origin



Only show unused temp and bad files.

Check for unused data that is located on a remote.

By default, any data that the work tree uses, or that any refs in the git
repository point to is considered to be used. If you only want to use some refs,
you can use this option to specify the ones to use. Data that is not in the
specified refs (and not used by the work tree) will then be considered unused.

The git configuration annex.used-refspec can be used to configure this in a more
permanent fashion.


The refspec format for --used-refspec is a colon-separated list of additions and removals
of refs. For example:


This adds all refs/heads/ refs, as well as the previous version of HEAD. It also adds all
tags, except for old-tag.

The refspec is processed by starting with an empty set of refs, and walking the list in
order from left to right.

Each + using a glob is matched against all relevant refs (a subset of git show-ref) and
all matching refs are added to the set. For example, "+refs/remotes/*" adds all remote

Each + without a glob adds the literal value to the set. For example, "+HEAD^" adds

Each - is matched against the set of refs accumulated so far. Any matching refs are
removed from the set.

"reflog" adds all the refs from the reflog. This will make past versions of files not be
considered to be unused until the ref expires from the reflog (by default for 90 days).
Note that this may make git-annex unused take some time to complete, it if needs to check
every ref from the reflog.

Use git-annex-unused online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 2
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 3
    Gambas3* coding tools and examples for
    use in SMB or other organizations that
    make internal programs. E.g. from
    database fields to class sourcecode with
    Download garlic3
  • 4
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    Download Sardi
  • 5
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    Download LMMS Digital Audio Workstation
  • 6
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 7
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • More »

Linux commands