New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lesson 3: Add description for force delete in Solutions #558
Comments
Thanks for bringing this up; I think this is a good point. In my teaching experience, usually the Git lesson is taught after a lesson that introduces shell commands, so this lack of explanation of On another note, this is a fairly introductory lesson and I think |
Resolved by #560. |
Add catch for None type code block in lesson_check
In [lesson-3/ Creating a Repository] of Version Control with Git there is a solution at the end which describes how to remove the
.git
folder in the moons subdirectory.Here the idea of recursive force deletion of folders is motivated using the command
rm -rf moons/.git
. However, from my skimming, there is no description of what is force delete or why we should use it here, only a warning to use it carefully. I think it is useful to have a longer description in the solutions section. If this issue is approved, I can submit a PR for the same.On a similar note, I also noticed that there isn't a focus on removing files and directories with git [correct me if I am wrong]. Perhaps its good to integrate a short description on
git rm
commands in one of the tutorials?The text was updated successfully, but these errors were encountered: