OnWorks favicon

git-annex-shell - Online in the Cloud

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

This is the command git-annex-shell 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-shell - Restricted login shell for git-annex only SSH access


git-annex-shell [-c] command [params ...]


git-annex-shell is a restricted shell, similar to git-shell, which can be used as a login
shell for SSH accounts.

Since its syntax is identical to git-shell's, it can be used as a drop-in replacement
anywhere git-shell is used. For example it can be used as a user's restricted login shell.


Any command not listed below is passed through to git-shell.

Note that the directory parameter should be an absolute path, otherwise it is assumed to
be relative to the user's home directory. Also the first "/~/" or "/~user/" is expanded to
the specified home directory.

configlist directory
This outputs a subset of the git configuration, in the same form as git config
--list. This is used to get the annex.uuid of the remote repository.

When run in a repository that does not yet have an annex.uuid, one will be created,
as long as a git-annex branch has already been pushed to the repository, or if the
autoinit= flag is used to indicate initialization is desired.

inannex directory [key ...]
This checks if all specified keys are present in the annex, and exits zero if so.

Exits 1 if the key is certainly not present in the annex. Exits 100 if it's unable
to tell (perhaps the key is in the process of being removed from the annex).

lockcontent directory key
This locks a key's content in place in the annex, preventing it from being dropped.

Once the content is successfully locked, outputs "OK". Then the content remains
locked until a newline is received from the caller or the connection is broken.

Exits nonzero if the content is not present, or could not be locked.

dropkey directory [key ...]
This drops the annexed data for the specified keys.

recvkey directory key
This runs rsync in server mode to receive the content of a key, and stores the
content in the annex.

sendkey directory key
This runs rsync in server mode to transfer out the content of a key.

transferinfo directory key
This is typically run at the same time as sendkey is sending a key to the remote.
Using it is optional, but is used to update progress information for the transfer
of the key.

It reads lines from standard input, each giving the number of bytes that have been
received so far.

commit directory
This commits any staged changes to the git-annex branch. It also runs the
annex-content hook.

notifychanges directory
This is used by git-annex remotedaemon to be notified when refs in the remote
repository are changed.

gcryptsetup directory gcryptid
Sets up a repository as a gcrypt repository.


Most options are the same as in git-annex. The ones specific to git-annex-shell are:

git-annex uses this to specify the UUID of the repository it was expecting git-
annex-shell to access, as a sanity check.

-- fields=val fields=val.. --
Additional fields may be specified this way, to retain compatibility with past
versions of git-annex-shell (that ignore these, but would choke on new dashed

Currently used fields include remoteuuid=, associatedfile=, direct=, and autoinit=


After content is received or dropped from the repository by git-annex-shell, it runs a
hook, .git/hooks/annex-content (or hooks/annex-content on a bare repository). The hook is
not currently passed any information about what changed.



If set, disallows any command that could modify the repository.

Note that this does not prevent passing commands on to git-shell. For that, you
also need ...

If set, disallows running git-shell to handle unknown commands.

If set, git-annex-shell will refuse to run commands that do not operate on the
specified directory.

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

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    TTGO VGA32 Lite
    TTGO VGA32 Lite
    Features:4:3 and 16:9 low resolution
    VGA outputPS/2 keyboard and mouse
    inputText-based user interface (TUI)
    with dialog managerPartial Unicode
    supportSlave dis...
    Download TTGO VGA32 Lite
  • 2
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    Download Clover EFI bootloader
  • 3
    Sequelize is a promise-based Node.js
    ORM for Postgres, MySQL, MariaDB, SQLite
    and Microsoft SQL Server. It features
    solid transaction support, relations,
    Download Sequelize
  • 4
    Join us in Gitter!
    Enable the URPMS repository in your
    system -
    Download unitedrpms
  • 5
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • 6
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • 7
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Download libusb
  • More »

Linux commands

  • 1
    4s-cluster-create � Create a KB on the
    cluster. ...
    Run 4s-cluster-createJ
  • 2
    4s-cluster-destroy � Delete the KB from
    a cluster. ...
    Run 4s-cluster-destroyJ
  • 3
    cpan2dist - The CPANPLUS distribution
    creator DESCRIPTION: This script will
    create distributions of "CPAN" modules
    of the format you specify, including its
    Run cpan2distp
  • 4
    cpan2doap - generate DOAP data from a
    CPAN distribution's root directory
    SYNPOSIS: cpan2doap [options]
    DESCRIPTION: The cpan2doap command
    generates DOAP data i...
    Run cpan2doapp
  • 5
    laditools - tools to control and
    monitor LADI (JACK and ladish) systems ...
    Run g15ladi
  • 6
    g15macro - A simple Macro
    recording/playback application for
    G15Daemon DESCRIPTION: This package
    provides a way to record, playback and
    display keyboard macro ...
    Run g15macro
  • More »