greg0ire / git_template

Automating your workflow with git
http://git-template.readthedocs.org/
GNU General Public License v3.0
227 stars 38 forks source link

Use GIT_COMMON_DIR wherever possible #70

Closed greg0ire closed 2 years ago

greg0ire commented 2 years ago

When using git worktrees, GIT_DIR and GIT_COMMON_DIR can differ. In that kind of case, it's a very bad idea to set GIT_DIR to GIT_COMMON_DIR.