Yann Büchau :python: on Nostr: :git: #git experts: Is it (probably not) possible to teach the typical ...
#git experts:
Is it (probably not) possible to teach the typical bare-git-repo-dotfiles mechanism (with alias dotfiles='git --git-dir=BAREREPO --work-tree=PATHTOTRACK') to put the tracked files from PATHTOTRACK into a subdirectory in BAREREPO?
For example, I'd like /etc/myconfig.txt to appear in system/etc/myconfig.txt when having checked out BAREREPO.
Is it (probably not) possible to teach the typical bare-git-repo-dotfiles mechanism (with alias dotfiles='git --git-dir=BAREREPO --work-tree=PATHTOTRACK') to put the tracked files from PATHTOTRACK into a subdirectory in BAREREPO?
For example, I'd like /etc/myconfig.txt to appear in system/etc/myconfig.txt when having checked out BAREREPO.