NAME
Pinto::Store::VCS::Git::Remote - Store your Pinto repository remotely with Git
VERSION
version 0.038
SYNOPSIS
# Assume you want to push to a central repository on some server, so you've
# constructed a bare repository at git://some_server/PINTO.git
# 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::Remote
# If you do already have a repository, edit its config (at $REPOS/.pinto/config/pinto.ini)
store = Pinto::Store::VCS::Git::Remote
# 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'
# Establish tracking and push to remote repository
$> git push -u git://some_server/PINTO.git master
DESCRIPTION
Pinto::Store::VCS::Git::Remote is a back-end for Pinto that stores the repository inside a remote Git repository. This Store is basically the same as Pinto::Store::VCS::Git, with the difference that it performs a pull during initialization, and does a push after each commit and tag operation. Before you can effectively use this Store, you must initialize or clone a Git repository that contains your Pinto repository. Also, you must establish a remote repository that you can pull/push to (see "SYNOPSIS" for the typical procedure).
If you don't need to pull/push to a remote repository, then use Pinto::Store::VCS::Git instead.
CAVEATS
- The
gitprogram is required. -
You must have the binary
gittool installed somewhere in your$PATHfor this Store to work. - No built-in support for authentication.
-
All authentication is handled by the
gitclient. So you must have the credentials for your repository already configured withgit. If you cannot or will not allowgitto cache your credentials, then this module will not 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.