Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does "changeset stripped" mean?

Tags:

git

bitbucket

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

enter image description here

What does this mean?

like image 414
Garrett Avatar asked Aug 26 '26 10:08

Garrett


1 Answers

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

like image 180
jub0bs Avatar answered Aug 29 '26 07:08

jub0bs



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!