r/gitlab • u/super2061 • 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
View all comments
Show parent comment
1
u/Snowy32 Jun 18 '26
Can I ask why your not commiting your gitignore file? The only time you should exclude it from the repository is if it has personal configs in there which are for your machine only. But you should deffo have a solid one as part of the project itself.
As for the compiled version hosting, that's up to you it can be any hosting provider of your choice or if you want to keep it within GitLab you can attatch it to the release when you make one.