Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 752 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 752 Bytes

VCS Helper

Multiple repositories helper

This tool allows you handle multiple repositories within one project by running one command. Command is vc - acronym of version control

vc up <rev>
vc merge <rev>
vc commit "Commit message"
vc push

To configure tool you should place vcsfile.coffee file to the root of your project. This file should export object describes your project's repositories structure

Example:

module.exports =
  main: # just a key
    path: '.' # root of repository
    type: 'hg' # hg or git allowed
    revmap: # optional revision map. I.e. master: default will checkout default on requested master
  core:
    path: 'public/bundles/cord/core' # relative to project's root dir
    type: 'git'