3cc94c1667
A top-level .noannex file will prevent git-annex init from being used in a repository. This is useful for repositories that have a policy reason not to use git-annex. The content of the file will be displayed to the user who tries to run git-annex init. This also affects git annex reinit and initialization via the webapp. It does not affect automatic inits, when there's a sibling git-annex branch already. This commit was supported by the NSF-funded DataLad project.
10 lines
471 B
Markdown
10 lines
471 B
Markdown
My $HOME is a git repo, but I don't want to use git-annex in that repo,
|
|
only in sub-repos. If I'm in ~/tmp/foo/ and forgot to git init, git annex
|
|
init initializes my $HOME repo, and I have to go clean it up which is
|
|
annoying. --[[Joey]]
|
|
|
|
This could be a git configuration setting, or it could be something
|
|
checked into the repo. Either might make sense depending on the scope
|
|
in which one wants to prevent the accidental init.
|
|
|
|
> [[done]] using .noannex file. --[[Joey]]
|