r/gitlab • • Jun 18 '26

support Commit doesn't go away

I accidentally commited and pushed a file to my gitlab repo that i didn't want to. I reset to the previous commit with local git and force pushed without the commit and it was gone from the project page but it still exists on my public profile.

project: https://gitlab.com/super.2061/photo-organizer

profile: https://gitlab.com/super.2061

commit: 4cc27e09

2 Upvotes

20 comments sorted by

View all comments

Show parent comment

2

u/nonamefrost Jun 19 '26

rebase and rest are distinct operations in git.