v0.10.0
Features
-
Introduced a set of new commands which should help developers in daily tasks. Closes #73. (2097c16)
-
New commands:
commit
- allows committing all changes files that are tracked by Git (a shorthand formgit exec 'git commit -a'
)fetch
- allows fetching changes in all cloned repositories (a shorthand formgit exec 'git fetch'
)pull
- allows pulling changes in all cloned repositories and cloning missing ones (it does not check out to specified branch inmgit.json
file)push
- allows pushing changes in all cloned repositories (a shorthand formgit exec 'git push'
)close
- allows mering specified branch into current one and removes the merged branch from the local and remote
-
The
update
command was renamed tosync
. -
The
save-hashes
command was renamed tosave
. It accepts two options:--branch
or--hash
(which is default one). If specified--branch
, name of current branches will be saved inmgit.json
. -
Removed command
bootstrap
. Use thesync
command instead. Sync command will scan the package directories and compare results with packages saved in configuration file. If there is something that is not defined inmgit.json
, it will be printed out. -
checkout
command now allows checking out the project to specified branch:mgit checkout stable
will check out all repositories to#stable
branch. It can also create a new branch for repositories that contains changes in files tracked by git. Callingmgit checkout -- --branch develop
will create the#develop
branch in these repositories. -
Improved the help screen of mgit and introduced a help screen for specified command, e.g.:
mgit sync --help
.
-
BREAKING CHANGES
- Removed the
bootstrap
command. Thesync
command should be used instead for initializing the repositories. - Renamed
update
command tosync
. - Renamed
save-hashes
command tosave
. It supports two parameters:--branch
and--hash
which the second one is set as default.
NOTE
mgit checkout branch
will check out the repository on#branch
.[branch]
argument is optional. If it isn't specified, branch name will be taken frommgit.json
.