+ [2019-04-21T04:42:12Z] i-make-robots what 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] sdgathman i-make-robots: https://help.github.com/en/articles/removing-sensitive-data-from-a-repository
+ [2019-04-21T17:33:37Z] sdgathman If you don't mind it in history, just git rm
+ [2019-04-21T22:41:21Z] deltab git 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

message no. 171891

Posted by deltab in #github at 2019-04-21T22:41:21Z

git 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-22T08:22:10Z] neure hi
+ [2019-04-22T08:22:36Z] neure a while back I added a submodule and I never used it
+ [2019-04-22T08:22:42Z] neure I'd like to remove it