Content-Length: 103773 | pFad | http://sandeep.shetty.in/search/label/deployment

Sandeep Shetty's Blog: deployment
Showing posts with label deployment. Show all posts
Showing posts with label deployment. Show all posts

Friday, January 27, 2012

SCP excluding .git & other dot files/folders

Quick command to scp your git repo to your server without copying .git & other dot files/folders:
scp -r [!.]* sandeep@server:/path/to/docroot

You can use this hack to store stuff in your repo (in dot files/folders) that you don't want to deploy to your production server. 








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://sandeep.shetty.in/search/label/deployment

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy