I have my webapp on a server I would like to maintain from my local machine version controlled by Git.
I want to copy and start tracking what is on the server now to local.
So what I did is
on the server:
git --bare init app.git
and local
git clone ssh://me@server/path_to_app.git 'app'
And
git pull
in order to get the server snapshot on the local machine.
this is the error I would like to resolve:
Your configuration specifies to merge with the ref 'master'
from the remote, but no such ref was fetched.
local branch = master
remote origin
I would like to make a first snapshot of the server. For this is empty of coarse. Can I run origin add -A and commit? Or something like that? And then git pull?
Or is my line of thinking not correct?