LemmyQuest@lemm.ee to Open Source@lemmy.ml · 8 months agoSo I wanted to opensource my website, but I have some questions.message-squaremessage-square17fedilinkarrow-up116arrow-down16file-text
arrow-up110arrow-down1message-squareSo I wanted to opensource my website, but I have some questions.LemmyQuest@lemm.ee to Open Source@lemmy.ml · 8 months agomessage-square17fedilinkfile-text
Can I opensource it in a way where changes is not open to the public? I have google verification file on my git, is it ok to put it in the public? The platform is gitlab.
minus-squareDaniel QuinnlinkfedilinkEnglisharrow-up7·8 months agoYou can always just reset your git history: $ git reset [your first commit hash] $ git add . $ got commit -m "Collapse git history" $ git push -f
minus-squarelemmyvore@feddit.nllinkfedilinkEnglisharrow-up3arrow-down1·8 months agoYou’d have to collapse all branches not just one, and remove all tags, in order to clear the whole graph. And of course you have to be allowed to – GitHub can have protected branches, protected tags, and force push protection. Assuming you’re the repo owner and can do all that it still would’t affect other people’s already existing clones, only new clones.
You can always just reset your git history:
$ git reset [your first commit hash] $ git add . $ got commit -m "Collapse git history" $ git push -f
You’d have to collapse all branches not just one, and remove all tags, in order to clear the whole graph.
And of course you have to be allowed to – GitHub can have protected branches, protected tags, and force push protection.
Assuming you’re the repo owner and can do all that it still would’t affect other people’s already existing clones, only new clones.