Difference between revisions of "User:Praveer-mathur-9f3d@uni-bonn.de/version-control-with-git"
Jump to navigation
Jump to search
| Line 58: | Line 58: | ||
+ Repository | + Repository | ||
|| Explanation: Correct | || Explanation: Correct | ||
| + | </quiz> | ||
| + | {{hidden end}} | ||
| + | |||
| + | === Short Quiz: First Repo and First Commit === <!--T:5--> | ||
| + | |||
| + | {{hidden begin | ||
| + | |title = Which of the following statements are true? | ||
| + | }} | ||
| + | <quiz display=simple> | ||
| + | { | ||
| + | |type="[]"} | ||
| + | + All global git settings will be put into a file named <code>.gitconfig</code> in your home directory. | ||
| + | || Explanation: True. Specifically: settings will be put into the file in your home with <code>git config --global</code>, or the project-specific one with <code>git config --local</code>. | ||
| + | + Git needs your name and e-mail address before letting you commit anything | ||
| + | || Explanation: True | ||
| + | + Every commit needs a commit message, either via the command line or a text editor | ||
| + | || Explanation: True | ||
| + | - 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. | ||
</quiz> | </quiz> | ||
{{hidden end}} | {{hidden end}} | ||
Revision as of 15:38, 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?