Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
10 Cards in this Set
- Front
- Back
- 3rd side (hint)
Where are the git configuration variables that control all aspects of how Git looks and operates stored?
|
/etc/gitconfig file: for every user
~/.gitconfig file: specific for your user .git/config: specific to that single repository |
|
|
What are the <tt>git config</tt> options to modify Git configuration variables for all users, your user and a single repository
|
--system for all users
--global for your user otherwise for a single repository |
|
|
What are the two Git configuration variables that you should modify when you install Git?
|
user name and e-mail address
|
|
|
Git command to change user name
|
git config --global user.name "John Doe"
|
|
|
Git command to change e-mail address
|
git config --global user.email johndoe@example.com
|
|
|
Git command to change default text editor
|
git config --global core.editor emacs
|
|
|
Git command to change default diff tool to use to resolve merge conflicts
|
git config --global merge.tool vimdiff
|
Valid merge tools:
kdiff3, tkdiff, meld, xxdiff, emerge, vimdiff, gvimdiff, ecmerge, opendiff |
|
Git command to list all configuration variables
|
git config --list
|
|
|
Git command to check a specific configuration variable
|
git config <key>
e.g. git config user.name |
|
|
3 ways of getting help for any Git commands
|
git help <verb>
git <verb> --help man git-<verb> |
If you need in-person help, try the #git or #github channel on the Freenode IRC server (irc.freenode.net).
|