Created
February 7, 2014 20:55
-
-
Save joallard/8871673 to your computer and use it in GitHub Desktop.
Git detached working tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sandyhill:dev-tmp jon$ mkdir bare.git && cd bare.git | |
sandyhill:bare.git jon$ git init --bare | |
Initialized empty Git repository in /Users/jon/dev-tmp/bare.git/ | |
sandyhill:bare.git jon$ git config core.worktree ~/dev-tmp/bare-foo/ | |
sandyhill:bare.git jon$ git config core.bare false | |
fatal: core.bare and core.worktree do not make sense | |
sandyhill:bare.git jon$ git --version | |
git version 1.8.5.1 | |
sandyhill:bare.git jon$ git config core.worktree | |
fatal: core.bare and core.worktree do not make sense | |
sandyhill:bare.git jon$ ls -a | |
. .. HEAD config description hooks info objects refs | |
sandyhill:bare.git jon$ rm -rf * | |
sandyhill:bare.git jon$ git init --bare | |
Initialized empty Git repository in /Users/jon/dev-tmp/bare.git/ | |
sandyhill:bare.git jon$ git config core.bare false | |
sandyhill:bare.git jon$ git config core.worktree ~/dev-tmp/bare-foo/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment