Coder Social home page Coder Social logo

Comments (2)

tespent avatar tespent commented on June 20, 2024

你对这里的“删除”理解得有一些偏差呢。

你想象的删除应该是把commit从分支历史中拿走。
但这里的删除是直接(强行)修改已有的 commit ,清理包含待删除数据的 objects 。这是一种需要 push -f 的操作。

如果想知道具体的操作步骤,你可以看看这篇文章 https://help.github.com/en/github/authenticating-to-github/removing-sensitive-data-from-a-repository

from zju-icicles.

infjer avatar infjer commented on June 20, 2024

谢谢,涨姿势了!😄

from zju-icicles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.