gitmapping
Mapping files and folders to your apps from git repositories.
Getting Started
Install the module with: npm install -g gitmapping
Documentation
api
var gitmapping = ;gitmappinggitmapping;params: the source or target path must use relative pathgitmapping;gitmapping;gitmapping;gitmapping;params: rules is rule_list like "rule1""rule2"
read or sync rules on .gitmapping.json
gitmapping;gitmapping;
command
gitmapping init <repository> [-s repo_name] [-b branch] gitmapping add [-s repo_name] [-d] <name> <source> <target> [-a allow] [-i ignore] [-v version]gitmapping rename <old> <new> gitmapping rm <name> gitmapping config repo.branch <repo> <branch> gitmapping config rule.version <rule> <version> gitmapping check <rule>gitmapping run [-u] <rule>
help
~gitmapping --helpUsage: gitmapping init - init git repo <remote-url> <--branch> <--version> gitmapping add - add git maping rules <name> <source> <target> <allow> <deny> gitmapping rm - remove git maping rules <name> gitmapping rname - rname git maping rules <old name> <new name> gitmapping check - check <rule> and diff current commit with up-to-date commit gitmapping run - run and mapping the rule <name>Options: -h, --help output usage information -s, --source [source] source name of the repository
Examples
(Coming soon)
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.
Release History
(Nothing yet)
License
Copyright (c) 2012 amazingSurge
Licensed under the MIT license.