I initialized a bare repository on server
git init --bare
and then added a remote
git remote add origin my.hosting.website.com:my-repository.git
then I am trying to pull.I used
pull -all my repo on server
Problem is when I try to pull/push an item it gives error message
fatal: /usr/libexec/git-core/git-pull cannot be used without a working tree
How to resolve this issue ?
Sorry I am just new to git.