git-annex/doc/bugs/bare_remote_safe_directory.mdwn

16 lines
375 B
Text
Raw Normal View History

2023-02-14 16:30:58 +00:00
git init foo.git
cd foo.git
git-annex init
cd ..
git clone foo.git bar
sudo chown root.root foo.git
cd bar
git-annex init
init fatal: not a git repository: /tmp/foo.git/.git'
This is specific to bare git remotes, for non-bare it
detects and warns that safe.directory is needed to use the
remote. --[[Joey]]
2023-02-14 17:31:26 +00:00
> [[fixed|done]] --[[Joey]]