Sublime Forum

Working with a bare repo (specifying git and work tree directories)


I am following this setup to manage my dotfiles with git:

This implies creating a bare repo at $HOME. In order to manage this, git must be invoked like this:

git --git-dir=$HOME/.cfg/ --work-tree=$HOME

specifying the .git dir (which was set to .cfg in this case) and the work-tree.

Can sublime-merge be invoked like this, manually specifying the git dir and the work tree dir?