-
Notifications
You must be signed in to change notification settings - Fork 0
/
git_01_GitIntroduction.yaml
39 lines (39 loc) · 2.19 KB
/
git_01_GitIntroduction.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
33
34
35
36
37
38
39
categoryId: 4675 # CATEGORY NAME
name: Basics of Git
questions:
- description: What is Git?
choices:
- The leading distributed version control system developed as open source software
- The leading centralized version control system developed as open source software
- The leading distributed version control system developed by Github and Microsoft
- A distributed version control system which is currently under development but planned to be replaced by another upcoming distributed version control system from Google
hint:
explanation: Git is the leading DVCS still adapted by multiple clients and companies like Microsoft, IBM, Google and SAP and the main version control system for open source software like Android, Flutter, Eclipse, Visual Studio Code, Spring, etc.
correctChoice: 0
- description: Git stores ...
choices:
- Deltas of file changes to save disc space
- Full snapshots with all files referred to by each commit
-
-
hint: The duration of operations comparing files via the Git history are not dependent on time between the commits.
explanation: Git stores always full version of the files, it is still storage efficient due to its intelligent storage algorithm which reduces redundacy.
correctChoice: 1
- description: To add a change in a file to your Git repository you ...
choices:
- Stage the change and commit it afterwards to your local Git repository
- You stage the change and push it to the remote repository
- You commit the change and pull it to your local Git repository
- You reset the change, while staging and afterwards commit it
hint: You need to mark each change to be relevant for the next commit of your local Git repository
explanation:
correctChoice: 0
- description: Commits in Git ...
choices:
- Can be adjusted by the user to reflect desired changes via the amend option
- Are immutable and cannot be changed, the amend option creates a new commit
-
-
hint: Git was designed to be secure.
explanation: Amend allows you to adjust the changes of the last commit in a new commit as Git commits are immutable
correctChoice: 1