I installed the git repository on my local computer and as open storage in the linode window. There are no errors when running git push, but I do not see the file on the remote server. The sequence of subsequent commands was lower:
On the remote control:
abhijat@kangaroo :~$ mkdir dev abhijat@kangaroo :~$ cd dev && git init --bare
By local machine:
krypton:test abhijat$ git init krypton:test abhijat$ vim app.py krypton:test abhijat$ git init Initialized empty Git repository in /Users/abhijat/dev/test/.git/ krypton:test abhijat$ git add . krypton:test abhijat$ git status
But when I check linode, the file is missing:
abhijat@kangaroo :~/dev$ ls -ltr total 32 drwxr-xr-x 4 abhijat abhijat 4096 Sep 8 10:17 refs drwxr-xr-x 2 abhijat abhijat 4096 Sep 8 10:17 info drwxr-xr-x 2 abhijat abhijat 4096 Sep 8 10:17 hooks -rw-r--r-- 1 abhijat abhijat 73 Sep 8 10:17 description drwxr-xr-x 2 abhijat abhijat 4096 Sep 8 10:17 branches -rw-r--r-- 1 abhijat abhijat 23 Sep 8 10:17 HEAD -rw-r--r-- 1 abhijat abhijat 66 Sep 8 10:57 config drwxr-xr-x 12 abhijat abhijat 4096 Sep 8 11:03 objects abhijat@kangaroo :~/dev$ find . -name app.py abhijat@kangaroo :~/dev$
Did I miss something obvious here? Communication is via ssh and the keys are configured as expected, I can log in without a password. However, the file is not copied to the remote server.
thanks
source share