I am very new to git and I am facing the following issue. I have set up a remote server and local server and I am trying to push changes from the local server into the remote server. The push works fine without any errors but the changes/files that were pushed from the local server are nowhere to be seen in the remote server.
What am I missing.?
EDIT: The steps I am following are as follows:
In the remote server, I initialise the git in a test folder as follows
git init --bare
In the local server, inside a test folder with a few files I do the following steps
git init
git add .
git commit -m "test"
git add origin user@remote_server_ip:/path_to_test_git_folder/
git push origin master
following this I get the below message, which leads me to believe the push is successful
Counting objects: 3, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 279 bytes | 279.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To 10.0.8.54:srv/git/test.git
97f4e97..30429fb HEAD -> master
But the files/changes inside the local server does not show up anywhere on the remote server.