How to delete a specific revision of a github gist?

后端 未结 5 1959
时光取名叫无心
时光取名叫无心 2020-12-23 09:51

I created a Gist on GitHub and I saw informations I don\'t want anyone to see. I updated the file since, but everybody can still access the old revision of the file.

5条回答
  •  攒了一身酷
    2020-12-23 10:26

    If you want to completely delete something from the repository you need to use git filter-branch.

    http://git-scm.com/docs/git-filter-branch

提交回复
热议问题