mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-07 11:34:35 +02:00
Resolves #842 -- better ordering for suggestions
This commit is contained in:
parent
decee92bea
commit
095ba99d05
1 changed files with 9 additions and 0 deletions
|
@ -17,6 +17,15 @@ const autoCompleteSuggestionOrder = [
|
||||||
'show solution', // above show goal since you start with a goal view
|
'show solution', // above show goal since you start with a goal view
|
||||||
'reset', // over reset solved
|
'reset', // over reset solved
|
||||||
'import level', // over import tree
|
'import level', // over import tree
|
||||||
|
// for the git commands, we did an analysis and got a better order.
|
||||||
|
// That way cherry pick is not before checkout
|
||||||
|
"git commit",
|
||||||
|
"git clone",
|
||||||
|
"git fakeTeamwork",
|
||||||
|
"git checkout",
|
||||||
|
"git branch",
|
||||||
|
"git fetch",
|
||||||
|
"git pull",
|
||||||
];
|
];
|
||||||
|
|
||||||
const allCommandsSorted = autoCompleteSuggestionOrder.concat(
|
const allCommandsSorted = autoCompleteSuggestionOrder.concat(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue