Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 751 Bytes

File metadata and controls

48 lines (36 loc) · 751 Bytes

Branch command

Print list of branches vcs branch is the same as vcs branch -l | --list

~ python vcs.py branch
Branches:
  master
  features
  test

Total 3 branches


Create new branch

~ python vcs.py -n test
Branch test has been created
4 files were inherited


Remove branch by name

~ python vcs.py -d test
Branch test was successfully deleted

Help text

vcs branch - Print list of branches
vcs branch -l | --list - Print list of branches
vcs branch -n | --new <branch_name> - Create new branch
vcs branch -d | --delete <branch_name> - Remove branch

Author: Konstantin-create
Licence: GNU General Public License v3.0