这部分适合一开始没有提交过的文件,如果一开始就已经commit过了,甚至开了很多分支的话,这部分不适合,跳到第二部分
Warning: These procedures will permanently remove files from the repository on your computer and GitHub. If the file is important, make a local backup copy in a directory outside of the repository.
If you added a file in an earlier commit, you need to remove it from your repository history. You can remove files from your repository history using either the BFG Repo-Cleaner or the git filter-branch
command. For more information, see "Removing sensitive data from a repository."