Git, you tricky bastard.
Let’s say I first create a branch named ‘wip/foo':
git branch wip/fooGit will create a file named ‘foo’ in the folder .git/refs/head/wip/. Now, suppose I attempt to create a new branch named ‘wip/foo/foo-offshoot’. git will return an error:
error: unable to create directory for .git/refs/heads/wip/foo/foo-offshoot fatal: Failed to lock ref for update: No such file or directory
via coderwall.com : establishing geek cred since 1305712800.
