0
0
Gitdevops~10 mins

Credential storage options in Git - Interactive Code Practice

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

Complete the command to cache your Git credentials temporarily.

Git
git config --global credential.helper [1]
Drag options to blanks, or click blank then click option'
Acache
Bstore
Cmanager
Dnone
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'store' which saves credentials permanently in a file.
Using 'manager' which is platform-specific and more complex.
2fill in blank
medium

Complete the command to save Git credentials permanently in a plain text file.

Git
git config --global credential.helper [1]
Drag options to blanks, or click blank then click option'
Acache
Bnone
Cmanager-core
Dstore
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'cache' which only stores credentials temporarily.
Using 'manager-core' which is platform-specific.
3fill in blank
hard

Fix the error in the command to use the Git Credential Manager on Windows.

Git
git config --global credential.helper [1]
Drag options to blanks, or click blank then click option'
Amanager
Bcache
Cmanager-core
Dstore
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'manager-core' on Windows which may not be installed.
Using 'cache' or 'store' which do not integrate with Windows credential manager.
4fill in blank
hard

Fill both blanks to configure Git to use the credential helper that stores credentials for 15 minutes.

Git
git config --global credential.helper '[1] --timeout=[2]'
Drag options to blanks, or click blank then click option'
Acache
Bstore
C900
D3600
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'store' which does not support timeout.
Setting timeout to 3600 which is 1 hour, not 15 minutes.
5fill in blank
hard

Fill all three blanks to create a Git credential helper configuration that stores credentials permanently and sets the file path.

Git
git config --global credential.helper '[1] --file=[2]/[3]'
Drag options to blanks, or click blank then click option'
Astore
B~/.git-credentials
Ccredentials
Dcache
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'cache' which does not support file path option.
Confusing file path parts or missing the file name.