Class: MGit::Reset
Constant Summary
Constants inherited
from BaseCommand
BaseCommand::HIGH_PRIORITY_OPT_LIST, BaseCommand::SELECTABLE_OPT_LIST
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from BaseCommand
#all_repos, cmd, #exec_light_repos, #generate_config_repo, inherited, #initialize, #locked_repos, #run
Class Method Details
.description ⇒ Object
21
22
23
|
# File 'lib/m-git/command/reset.rb', line 21
def self.description
"将当前HEAD指针还原到指定状态。"
end
|
.usage ⇒ Object
25
26
27
|
# File 'lib/m-git/command/reset.rb', line 25
def self.usage
"mgit reset [<git-reset-option>] [(--mrepo|--el-mrepo) <repo>...] [--help]"
end
|
Instance Method Details
#enable_repo_selection ⇒ Object
17
18
19
|
# File 'lib/m-git/command/reset.rb', line 17
def enable_repo_selection
true
end
|