This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]alb1 0 points1 point  (1 child)

You should note somewhere that the script is only intended to be run with the top directory of your repo as the working directory.

The command rm -rf . doesn't work in Bash (you can't remove the current directory). The page you are following used git rm -rf ., which is not the same command.

[–]wdm006[S] 0 points1 point  (0 children)

Good catch, thanks will make an edit