basics Flashcards

1
Q

How to check where/wether git is installed

A

which git

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What version of git

A

git –version

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Where is the config file stored

A

~/.gitconfig

tilde/ is the home directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Configure git, name, email, default text editor, color

A

git config –global user.name “Paul Thompson”
git config –global user.email “paul@freelancerlondon.com”
git config –global core.editor “subl -n -w”
git config –global color.ui true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

git help how to move forward, back, and quit

A

forwards - spacebar or f
backwards - b
quit q

How well did you know this?
1
Not at all
2
3
4
5
Perfectly