Commands - libvcs.cmd¶
Compare to: fabtools.git,
salt.modules.git,
ansible.builtin.git
Warning
All APIs are considered experimental and subject to break pre-1.0. They can and will break between versions.
Overview¶
The libvcs.cmd module provides Python wrappers for VCS command-line tools:
libvcs.cmd.git- Git commands with Managers for intuitive entity traversal and Commands for targeted executionlibvcs.cmd.hg- Mercurial commandslibvcs.cmd.svn- Subversion commands
When to use cmd vs sync¶
Module |
Use Case |
|---|---|
|
Fine-grained control over individual VCS commands |
|
High-level repository cloning and updating |
Modules¶
Git
Full git CLI wrapper with sub-command managers (branch, remote, stash, …).
Mercurial
Mercurial CLI wrapper.
Subversion
Subversion CLI wrapper.