Git config -global -add safe.directory $HOME ![]() Git config -global faultBranch mainįunction mygit () Git-annex init fails when separating -git-dir and -work-tree sudo docker run -rm archlinux-with-git-annex sh -xc ' + git config user.email git config user.name Me Initialized empty Git repository in /repo/.git/ Git-annex works in a normal setup sudo docker run -rm archlinux-with-git-annex sh -xc 'git config -global faultBranch main mkdir repo cd repo git init git config user.email config user.name Me git annex init' Sudo docker build -t archlinux-with-git-annex. ![]() For reproducibility, here is a Docker setup: FROM archlinux I am running into a weird problem where git-annex init complains that Git refuses to operate in this repository (in turn because -local can only be used inside a git repository) in a setup with separated -git-dir and -work-tree (a pretty usual scenario for managing one's dotfiles with a hidden bare git repository checked out to $HOME): Environment First of all: Thank you VERY much for git-annex, it's awesome.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |