[git-users] Re: Two issues with remote repository used for a website

2010-02-10 Thread FlashWebHost.com
1) Every time I push from my local checkout to the remote master, I have to access my remote machine via ssh and do a 'git reset --hard' to get the changes to show up in the remote working directory --i.e. so Apache can access the files. Is there a way to automate this? 2) Every time I push

[git-users] Re: Two issues with remote repository used for a website

2010-02-10 Thread Trans
On Feb 10, 5:13 pm, FlashWebHost.com flash...@gmail.com wrote: Use hooks, here is what i use [fsh...@server58 hooks]$ cat post-update #!/bin/sh # # An example hook script to prepare a packed repository for use over # dumb transports. # # To enable this hook, rename this file to