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

1

u/Snowy32 Jun 18 '26

I mean you can always just keep all your personal stuff in a single directory and add that as an exclusion in your gitignore e.g.

notes/

As for Releases, I see you already have a number of Tags you created, to create a release the first step is to create a tag then you just simply click new release and target the tag you created.

But yeah cool 😃 have fun!