-
Notifications
You must be signed in to change notification settings - Fork 0
/
git_08_AliasBisecAndPatch.yaml
32 lines (30 loc) · 1.49 KB
/
git_08_AliasBisecAndPatch.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
categoryId: 8310 # CATEGORY NAME
name: Other Git commands, like alias, bisect and patch
questions:
- description: What is a so called alias in Git?
choices:
- It is another name for a repository or branch
- It is a shorter name for a Git commit
- It is a short form for one or several existing Git commands
- it is a short name for a Git branch
hint:
explanation: You can define an alias which is a short form of your own favorite commands or you can combine several commands with an alias.
correctChoice: 2
- description: What does 'git bisect' do?
choices:
- It creates binary files in a Git repository
- It runs a binary search through the commit history to identify the commit which introduced an issue
- It looks for binary files in a Git repository
-
hint:
explanation: You specify a range of commits and a script that the bisect command uses to identify whether a commit is good or bad.
correctChoice: 1
- description: What is a patch in Git?
choices:
- It is a text file that contains changes to other text files in a standarized format
- It is the same as a commit
- It is a file which is included in the staging area
- It is an unstaged file
hint:
explanation: A patch created with the git format-patch command includes meta-information about the commit (committer, date, commit message, etc) and also contains the changes introduced in binary data in the commit.
correctChoice: 0