a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by user-inactivated
user-inactivated  ·  3410 days ago  ·  link  ·    ·  parent  ·  post: One in every 600 websites has .git exposed

Using git pull to deploy your code, or just scping the whole repo would do it.





tla  ·  3409 days ago  ·  link  ·  

There are tools that deploy code by making a new checkout then removing the $versioncontrol directory (next update simply archives the old directory and does another new checkout). I think Fabric is an example of this if I am remembering correctly