0
0
Gitdevops~10 mins

git status to see current state - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the command to check the current state of your git repository.

Git
git [1]
Drag options to blanks, or click blank then click option'
Acommit
Bpush
Cstatus
Dclone
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'git commit' instead of 'git status' will try to save changes instead of showing status.
Using 'git push' sends changes to remote, not showing local status.
2fill in blank
medium

Complete the command to see detailed information about changed files in your git repository.

Git
git [1]
Drag options to blanks, or click blank then click option'
Astatus
Blog
Cbranch
Ddiff
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'git status' shows overall file status, not detailed changes.
Using 'git log' shows commit history, not file differences.
3fill in blank
hard

Fix the error in the command to check the current git repository state.

Git
git [1]us
Drag options to blanks, or click blank then click option'
Astatus
Bstat
Cstash
Dstage
Attempts:
3 left
💡 Hint
Common Mistakes
Typing 'git stat' which is not a valid git command.
Confusing 'git stash' which saves changes temporarily.
4fill in blank
hard

Fill both blanks to complete the command that shows the current state of your git repository with short output.

Git
git [1] --[2]
Drag options to blanks, or click blank then click option'
Astatus
Bshort
Clong
Dlog
Attempts:
3 left
💡 Hint
Common Mistakes
Using '--long' which is not a valid option for git status.
Using 'git log' which shows commit history, not status.
5fill in blank
hard

Fill all three blanks to create a command that shows the current git status including untracked files.

Git
git [1] --[2]=[3]
Drag options to blanks, or click blank then click option'
Astatus
Buntracked-files
Call
Dignored
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'ignored' instead of 'all' which hides untracked files.
Omitting the option which hides untracked files by default.