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

Open
krishnanj opened this Issue Sep 24, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@krishnanj

krishnanj commented Sep 24, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment