Re: I don't want the .git directory next to my code.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 16, 2008, 17:51 UTC
- Message-ID
- <alpine.LSU.1.00.0801161751000.17650@racer.site>
- In-Reply-To
- <478E3D8E.1090300@talkingspider.com>
Hi,
On Wed, 16 Jan 2008, Mike wrote:
Show 9 quoted lines
> Neil Macneale wrote: > > Mike wrote: > >> .... And as for permissions and ownership, rsync takes care of that. > > Perhaps "rsync --exclude *.git"? > > > > It seems to me that you are asking git to be your deployment software, > > which is a bad fit. > > I'm asking git to get out of my deployment!
But that's easy: rm -rf /usr/bin/git* .git/ ;-)
Hth, Dscho