deploy to remote server using postrecieve hook

23 views
Skip to first unread message

siv.d...@gmail.com

unread,
Mar 31, 2015, 9:26:48 PM3/31/15
to gitflo...@googlegroups.com
Hi All,

I wanted to achieve the following

if the code pushed to a repository test, I need to deploy a code to the server test.server.com.

I understand that we can write the command in post recieve hook and make it executable.

But How do I tell the git command that my working dir is on remote server?


Thanks
PDev



Reply all
Reply to author
Forward
0 new messages