Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the command to view all saved stashes.
Git
git [1] list Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'git commit list' instead of 'git stash list'.
Using 'git branch list' which shows branches, not stashes.
✗ Incorrect
The command git stash list shows all saved stashes.
2fill in blank
mediumComplete the command to show stash entries with their names.
Git
git stash [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'git stash show' which shows only one stash's details.
Using 'git stash apply' which applies a stash instead of listing.
✗ Incorrect
git stash list displays all stash entries with their names.
3fill in blank
hardFix the error in the command to list stashes.
Git
git stash [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Typing 'git stash list list' which is invalid.
Using 'git stash pop list' which is incorrect.
✗ Incorrect
The correct command is git stash list. Adding 'list' twice causes an error.
4fill in blank
hardFill both blanks to create a command that lists stashes with their names and indexes.
Git
git [1] [2]
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'git show list' which is invalid.
Using 'git stash show' which shows only one stash.
✗ Incorrect
The command git stash list shows all stashes with their names and indexes.
5fill in blank
hardFill all three blanks to create a command that lists stashes with detailed stats.
Git
git [1] [2] [3]
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using '--patch' which shows patch details, not a list.
Omitting '--stat' which shows less detail.
✗ Incorrect
The command git stash list --stat lists all stashes with detailed statistics.