Method: MGit::Workspace.check_branch_consistency
- Defined in:
- lib/m-git/workspace.rb
.check_branch_consistency ⇒ Object
校验分支统一性
363 364 365 366 367 368 369 370 371 372 |
# File 'lib/m-git/workspace.rb', line 363 def check_branch_consistency if has_diff_branch?(all_repos) if filter_config.auto_exec || Output.continue_with_user_remind?("当前所有仓库并不处于同一分支(可通过\"mgit branch --compact\"查看),是否继续?") return else Output. exit end end end |