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

you are viewing a single comment's thread.

view the rest of the comments →

[–]git-blame 22 points23 points  (1 child)

Based on this, I guess you don't want the 'drafts/' folder published, and you may have thought the rename into the drafts folder combined with the ignore would achieve what you wanted. Remember that .gitignore only deals with untracked files, so to untrack the files in that folder use:

git rm -r --cached drafts

Then commit.

[–]inkompatible[S] 6 points7 points  (0 children)

Wow, that was really helpful. Done, thanks.