Update working on target repo when changes are pushed to it

Posted by Francis on Stack Overflow See other posts from Stack Overflow or by Francis
Published on 2010-06-03T19:52:59Z Indexed on 2010/06/03 20:24 UTC
Read the original article Hit count: 137

Filed under:

I'm implementing GIT for web developemnt, and I want to have the working copy repository that everybody pushes to automatically reflect the latest commit in it (since it is online for everyone on the team to see as a testing site). Right now, you have to run "git reset --hard HEAD" on the repository after somebody pushes to it in order to be up to date.

© Stack Overflow or respective owner

Related posts about git