You may exit out of this review and return later without penalty.
Close
Sharing assignments in OpenClass
OpenClass is on a mission to improve & democratize education. Through our platform, educators can share assignments privately or with our entire community to improve accessibility of the best learning resources around the world.
Our assignments guide students through research-backed study sessions to reinforce learning. If this review is relevant to your teachings, feel free to add it to one of your classes!
Our format is simple and engaging: students are asked a retrieval question, then shown corrective feedback and a multiple-choice mastery question to assess their understanding of the material. Assignments adapt to unique student needs and continue to draw questions until a student has demonstrated mastery.
When you use `git init .` to initialize a git repository, what happens?
What does the command `git status` do?
What is the difference between `git add` and `git commit`?
What does `git log` do?
What is GIT?
What does git diff do?
What is the .gitconfig file?
What does `datalad create` do?
What does `datalad status` do?
What does `datalad save` do?
What does `datalad download-url` do?
What does `datalad clone` do?
What do `datalad get` and `datalad drop` do?
What does `datalad run` do?
How is Datalad different than GIT?
What is the .gitconfig file?
(Student response here)
`.gitconfig` is a text file, stored in your home directory, that provides git configuration information. At minimum, it should contain information like this:
```
[user]
email = dkp@email.arizona.edu
name = Dianne Patterson
```
In fact, if you copied that into a text file called `.gitconfig` in your home directory, then you would have created the file.
Imagine you have started working with Datalad on the HPC and you receive this message saying that "It is highly recommended to configure git...". What should you do?
Create a `.gitconfg` file to continue without complaints
Datalad will not function unless you "configure git", whatever that means.