I created a git
environment locally.One system behaves like the server
and I created another system as gituser(client)
.My server repository is a bare repository.I used this $ git clone --bare . ../../remote_repository.git
for creating this bare repository.Client made changes and PUSH
updated file to remote_repository.But the Server need to view and make update.Thats why I am trying to PULL
the file.But I am receiving the below response.Other commands like git status
etc are also giving the same response.Since I am a newbie I am very much confused.
Received Response
fatal: Not a git repository (or any of the parent directories): .git
I tried with the below command.I am using ubuntu
.
administrator@pramod-desktop:/$ git pull ../../remote_repository.git
Command Explanation
My bare repository path in server is /home/user153/remote_repository.git
../../remote_repository.git:`Path` to my remote_repository.git(git folder)
Anyone please help.