I am trying to use a program that uses git as the backing store (I am new to git). On initialization, this program does a:
"git" "--bare" "rev-parse" "refs/heads/index"
Which results in:
fatal: Not a git repository: '/home/david/blog.git'
I followed this tutorial, git init
, git add test.txt
and git commit
. The repo seems to behave properly when (in the correct directory) I do (for example):
$ git status
What is rev-parse
doing and what do I have to do to my repo to make it work?