NAME
Pinto::Store::VCS::Git - Store your Pinto repository locally with Git
VERSION
version 0.038
SYNOPSIS
# If you don't already have a Pinto repository, create one (notice the --store option here)
$> pinto-admin --root=~/PINTO create --store=Pinto::Store::VCS::Git
# If you do already have a repository, edit its config (at $REPOS/.pinto/config/pinto.ini)
store = Pinto::Store::VCS::Git
# Initialize Pinto repository into Git
$> cd ~/PINTO
$> git init
# Add initial files and commit
$> git add .pinto authors modules
$> git commit -a -m 'New Pinto repos'
Now run pinto-admin or pinto-server as you normally would, setting the --root
to the path of the working copy (which would be ~/PINTO in the example above).
DESCRIPTION
Pinto::Store::VCS::Git is a back-end for Pinto that stores the repository inside a local Git repository. Before you can effectively use this Store, you must initialize or clone a Git repository that contains your Pinto repository (see "SYNOPSIS" for the typical procedure).
Note this Store only works with a local Git repository (i.e. one that does not push or pull to another repository). If you want to do that, see Pinto::Store::VCS::Git::Remote).
CAVEATS
- The
git
program is required. -
You must have the binary
git
tool installed somewhere in your$PATH
for this Store to work.
AUTHOR
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Imaginative Software Systems.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.