Separate branch and worktree pre/post commands. Some operations that make sense for branches (like git stash), will throw an error in the root of a bare repository (like when working with worktrees). Increasing the granularity of the configuration tracks with previous decisions and helps avoid issues like this.
Separate branch and worktree pre/post commands. Some operations that make sense for branches (like git stash), will throw an error in the root of a bare repository (like when working with worktrees). Increasing the granularity of the configuration tracks with previous decisions and helps avoid issues like this.