+[2019-04-21T04:42:12Z]i-make-robotswhat is the correct way to remove a file from a repo so that it never existed? I have a log file that was accidentally committed long ago. tho i put it in .gitignore it keeps tracking. I tried a few methods found on google and none have worked yet. +[2019-04-21T17:33:00Z]sdgathmani-make-robots: https://help.github.com/en/articles/removing-sensitive-data-from-a-repository +[2019-04-21T17:33:37Z]sdgathmanIf you don't mind it in history, just git rm +[2019-04-21T22:41:21Z]deltabgit rm --cached to stop tracking it while keeping it in the work tree; however if will still get overwritten if you check out an older version +[2019-04-21T22:41:29Z]deltab^it
+[2019-04-22T08:22:10Z]neurehi +[2019-04-22T08:22:16Z]KaitoDaumotohi +[2019-04-22T08:22:36Z]neurea while back I added a submodule and I never used it +[2019-04-22T08:22:42Z]neureI'd like to remove it +[2019-04-22T08:24:03Z]KaitoDaumotoidk that :D