Difference between revisions of "User:Praveer-mathur-9f3d@uni-bonn.de/version-control-with-git"
Jump to navigation
Jump to search
| Line 77: | Line 77: | ||
- The command <code>git</code> with no arguments will show a history of your commits. | - The command <code>git</code> with no arguments will show a history of your commits. | ||
|| Explanation: False. The command <code>git log</code> will do that. | || Explanation: False. The command <code>git log</code> will do that. | ||
| + | </quiz> | ||
| + | {{hidden end}} | ||
| + | |||
| + | === Short Quiz: Handling Remotes === <!--T:5--> | ||
| + | |||
| + | {{hidden begin | ||
| + | |title = What is the meaning of cloning in the context of git? | ||
| + | }} | ||
| + | <quiz display=simple> | ||
| + | { | ||
| + | |type="()"} | ||
| + | - Downloading commits and immediately merging them | ||
| + | || Explanation: Wrong | ||
| + | - Downloading commits from remote | ||
| + | || Explanation: Wrong | ||
| + | + Creating a new repository from a remote one | ||
| + | || Explanation: Correct | ||
| + | - Uploading commits | ||
| + | || Explanation: Wrong | ||
| + | </quiz> | ||
| + | {{hidden end}} | ||
| + | |||
| + | {{hidden begin | ||
| + | |title = What is the meaning of pulling in the context of git? | ||
| + | }} | ||
| + | <quiz display=simple> | ||
| + | { | ||
| + | |type="()"} | ||
| + | + Downloading commits and immediately merging them | ||
| + | || Explanation: Correct | ||
| + | - Downloading commits from remote | ||
| + | || Explanation: Wrong | ||
| + | - Creating a new repository from a remote one | ||
| + | || Explanation: Wrong | ||
| + | - Uploading commits | ||
| + | || Explanation: Wrong | ||
| + | </quiz> | ||
| + | {{hidden end}} | ||
| + | |||
| + | {{hidden begin | ||
| + | |title = What is the meaning of pushing in the context of git? | ||
| + | }} | ||
| + | <quiz display=simple> | ||
| + | { | ||
| + | |type="()"} | ||
| + | - Downloading commits and immediately merging them | ||
| + | || Explanation: Wrong | ||
| + | - Downloading commits from remote | ||
| + | || Explanation: Wrong | ||
| + | - Creating a new repository from a remote one | ||
| + | || Explanation: Wrong | ||
| + | + Uploading commits | ||
| + | || Explanation: Correct | ||
| + | </quiz> | ||
| + | {{hidden end}} | ||
| + | |||
| + | {{hidden begin | ||
| + | |title = What is the meaning of fetching in the context of git? | ||
| + | }} | ||
| + | <quiz display=simple> | ||
| + | { | ||
| + | |type="()"} | ||
| + | - Downloading commits and immediately merging them | ||
| + | || Explanation: Wrong | ||
| + | + Downloading commits from remote | ||
| + | || Explanation: Correct | ||
| + | - Creating a new repository from a remote one | ||
| + | || Explanation: Wrong | ||
| + | - Uploading commits | ||
| + | || Explanation: Wrong | ||
</quiz> | </quiz> | ||
{{hidden end}} | {{hidden end}} | ||
Revision as of 15:46, 24 March 2026
Short Quiz: The Idea Behind Git
Where is the git repository information located?
Where are the actual files you edit?
What is the staging area for the next commit called?
Where is the history of commits?
Short Quiz: First Repo and First Commit
Which of the following statements are true?
Short Quiz: Handling Remotes
What is the meaning of cloning in the context of git?
What is the meaning of pulling in the context of git?
What is the meaning of pushing in the context of git?
What is the meaning of fetching in the context of git?