Difference between revisions of "User:Praveer-mathur-9f3d@uni-bonn.de/version-control-with-git"

From HPC Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
- Directory in your home directory
 
- Directory in your home directory
 
|| Explanation: Wrong
 
|| Explanation: Wrong
 +
</quiz>
 +
{{hidden end}}
 +
 +
{{hidden begin
 +
|title = Where are the actual files you edit?
 +
}}
 +
<quiz display=simple>
 +
{
 +
|type="()"}
 +
+ Working tree
 +
|| Explanation: Correct
 +
- Index
 +
|| Explanation: Wrong
 +
- Repository
 +
|| Explanation: Wrong
 +
</quiz>
 +
{{hidden end}}
 +
 +
{{hidden begin
 +
|title = What is the staging area for the next commit called?
 +
}}
 +
<quiz display=simple>
 +
{
 +
|type="()"}
 +
- Working tree
 +
|| Explanation: Wrong
 +
+ Index
 +
|| Explanation: Correct
 +
- Repository
 +
|| Explanation: Wrong
 +
</quiz>
 +
{{hidden end}}
 +
 +
{{hidden begin
 +
|title = Where is the history of commits?
 +
}}
 +
<quiz display=simple>
 +
{
 +
|type="()"}
 +
- Working tree
 +
|| Explanation: Wrong
 +
- Index
 +
|| Explanation: Wrong
 +
+ Repository
 +
|| Explanation: Correct
 
</quiz>
 
</quiz>
 
{{hidden end}}
 
{{hidden end}}

Revision as of 15:31, 24 March 2026

Short Quiz: The Idea Behind Git

Where is the git repository information located?

Directory at repository top level
Directory inside every directory in the repository
Directory in your home directory

Where are the actual files you edit?

Working tree
Index
Repository

What is the staging area for the next commit called?

Working tree
Index
Repository

Where is the history of commits?

Working tree
Index
Repository