I am trying to get my GIT Remote working. On my Windows local machine GIT remote is setup like this:
C:\xampp\htdocs\helloworld\test [master]> git remote
develop
C:\xampp\htdocs\helloworld\test [master]> git remote -v
develop ssh://root@develop.livm.net:/var/www/html/demo/iMedicWare/nsg/helloworld/test/.git/ (fetch)
develop ssh://root@develop.livm.net:/var/www/html/demo/iMedicWare/nsg/helloworld/test/.git/ (push)
I have GIT installed on the linux server that where the application will live. What do I have to setup on Windows local machine and/or linux server in order to get code from my local machine changes to be pushed on the linux server?
This is the command I am running on my windows local machine to push changes on the linux server:
C:\xampp\htdocs\helloworld\test [master]> git push develop master
Warning: Permanently added 'develop.livm.net,192.168.19.70' (RSA) to the list of known hosts.
root@develop.livm.net's password:
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 358 bytes | 0 bytes/s, done.
Total 3 (delta 1), reused 0 (delta 0)
To ssh://root@develop.livm.net:/var/www/html/demo/iMedicWare/nsg/helloworld/test/.git/
1527464..04f0441 master -> master
C:\xampp\htdocs\helloworld\test [master]>
I do not see the code changes on the linux server master branch after I run this command from my windows local machine. So I am not sure what I am doing wrong?
On my remote machine the project is here:
/var/www/html/demo/iMedicWare/nsg/helloworld/test/
and there is a .git folder in there like this:
/var/www/html/demo/iMedicWare/nsg/helloworld/test/.git
Is the project supposed to be inside .git folder or the way I currently have it setup?