What does “changeset stripped” mean?

Under the column Recent Activity on a Bitbucket repo, there’s the following entry:

enter image description here

  • How to check out a branch in Bitbucket
  • Deleting all commits in a branch after certain commit
  • How to delete one folder from git repo?
  • Why is my ionic www folder not being tracked by Git?
  • Can't pull or push code from bitbucket
  • Bitbucket API bad request while trying to merge
  • What does this mean?

  • git clone from other local user
  • how to move committed-but-unpushed changes to another branch?
  • Remove all information from a .git directory that can be re-downloaded
  • Why are these files not ignored by git?
  • How to select text in git bash console (OS windows) use keyboard?
  • Are code freezes irrelevant with Git?
  • One Solution collect form web for “What does “changeset stripped” mean?”

    Changeset stripped from <repo-name>

    is Bitbucket parlance for

    this commit used to be in the history of <repo-name>, but has since been deleted by a force push.

    You can reproduce the situation in a toy repository. Create an empty repository on Bitbucket, clone it, then cd to the clone’s root directory and run the following:

    # create a first commit
    $ touch README
    $ git add README
    $ git commit -m "add README"
    $ git push -u origin master
    # create a second commit
    $ printf "hello world\n" > README
    $ git commit -am "modify README"
    $ git push
    # "delete" the second commit
    $ git reset --hard master^
    $ git push --force

    In the remote repo, under Recent history, the second commit (now deleted) will be marked as Changeset stripped from <repo-name>:

    enter image description here

    Git Baby is a git and github fan, let's start git clone.