You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the section about removing the .git file if we accidentally did a git init, there is a note to use with caution. In emphasizing that caution, consider adding a line about how the rm command is irrecoverable -- items do not end up in your trash/recycle bin but are gone forever.
Which part of the content does your suggestion apply to?
I agree with this suggestion. The information could be beneficial to students who haven't spent much time using shell commands yet and, hopefully, with little additional overhead for maintainers and doesn't bloat the content too much (this doesn't introduce a new idea).
Perhaps taking
Running this command in the wrong directory will remove the entire Git history of a project you might want to keep.
How could the content be improved?
In the section about removing the
.git
file if we accidentally did agit init
, there is a note to use with caution. In emphasizing that caution, consider adding a line about how therm
command is irrecoverable -- items do not end up in your trash/recycle bin but are gone forever.Which part of the content does your suggestion apply to?
https://swcarpentry.github.io/git-novice/03-create.html#correcting-git-init-mistakes
The text was updated successfully, but these errors were encountered: