mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 16:38:50 +02:00
add git gc command
This commit is contained in:
parent
9d76f28ed9
commit
1e1c3a46e6
2 changed files with 10 additions and 2 deletions
|
@ -208,6 +208,14 @@ var commandConfig = {
|
|||
}
|
||||
},
|
||||
|
||||
gc: {
|
||||
displayName: 'gc',
|
||||
regex: /^git +gc($|\s)/,
|
||||
execute: function(engine, command) {
|
||||
engine.pruneTree(false);
|
||||
}
|
||||
},
|
||||
|
||||
pull: {
|
||||
regex: /^git +pull($|\s)/,
|
||||
options: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue