vcshelper

Multiple repositories helper

Usage no npm install needed!

<script type="module">
  import vcshelper from 'https://cdn.skypack.dev/vcshelper';
</script>

README

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'