logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

git-annex-required - get or set required content expression

Author

       Joey Hess <id@joeyh.name>

                                                                                           git-annex-required(1)

Description

       When run with an expression, configures the content that is required to be held in the repository.

       For example:

        git annex required . "include=*.mp3 or include=*.ogg"

       Without an expression, displays the current required content setting of the repository.

       While  git-annex-wanted(1)  is  just  a  preference,  this  designates  content that should really not be
       removed. For example a file that is wanted can be removed with gitannexdrop,  but  if  that  file  is
       required, it would need to be removed with gitannexdrop--force.

       Also, git-annexfsck will warn about required contents that are not present.

Name

       git-annex-required - get or set required content expression

Notes

       The required command was added in git-annex 5.20150420.

Options

       The git-annex-common-options(1) can be used.

See Also

git-annex(1)

       git-annex-wanted(1)

       git-annex-preferred-content(1)

Synopsis

       git annex required repository[expression]

See Also