How do I remove the old history from a git repository?
I'm afraid I couldn't find anything quite like this particular scenario.
I have a git repository with a lot of history: 500+ branches, 500+ tags, going back to mid-2007. It contains ~19,500 commit...
If you want to free some space in your git repo, but do not want to rebuild all your commits (rebase or graft), and still be able to push/pull/merge from people who has the full repo, you may use the git clone shallow clone (--depth parameter).
; Clone the original repo into limitedRepo
git clone file:///path_to/originalRepo limitedRepo --depth=10
; Remove the original repo, to free up some space
rm -rf originalRepo
cd limitedRepo
git remote rm origin
You may be able to shallow your existing repo, by following these steps:
; Shallow to last 5 commits
git rev-parse HEAD~5 > .git/shallow
; Manually remove all other branches, tags and remotes that refers to old commits
; Prune unreachable objects
git fsck --unreachable ; Will show you the list of what will be deleted
git gc --prune=now ; Will actually delete your data
GitHub - linuxserver/docker-webtop: Ubuntu, Alpine, Arch, and Fedora based Webtop images, Linux in a web browser supporting popular desktop environments.
Ubuntu, Alpine, Arch, and Fedora based Webtop images, Linux in a web browser supporting popular desktop environments. - GitHub - linuxserver/docker-webtop: Ubuntu, Alpine, Arch, and Fedora based We...
Use Tidbyt to check the weather, or when your train is arriving. Track your favorite stock tickers, or your favorite sports teams. Check out our growing collection of apps and choose what matters to you.
changedetection.io - The best and simplest self-hosted free open source website change detection tracking, monitoring and notification service. An alternative to Visualping, Watchtower etc. Designe...
On Reshaping: Tooling WordPress with nothing other than it’s URLs
This is the words written as my brow is furrowing. This birdspace thread I was tagged into started with a question from Robin Derosa If my recent blabbed post cast some shade on “promptism…
nextcloud/all-in-one: Nextcloud AIO stands for Nextcloud All In One and provides easy deployment and maintenance with most features included in this one Nextcloud instance.
Nextcloud AIO stands for Nextcloud All In One and provides easy deployment and maintenance with most features included in this one Nextcloud instance. - nextcloud/all-in-one: Nextcloud AIO stands f...
Filing this away for myself to check out again when I have more time to play around with Jupyter. This is also a nice example of a book published with github 🙂
Netflix is ending support for old devices from Samsung, Roku, and Vizio in December
Smart TVs are a mistake. I’ve never liked the idea of relying on a crappy computer built in to an expensive TV, when you could get a much more capable box like an Apple TV that is external and replacable every few years. On top of that not connecting your TV to the internet means the manufacturer can’t sell your viewing habits and history.
A Technical and Cultural Assessment of the Mueller Report PDF | PDF Association
This is a super nerdy look into the Mueller report. It's not evaluating the content of the report, but how or if it holds up as a good PDF document. I guess this type of article makes some sense coming from the PDF ASsociation...
So cool to see someone describe what a Browser is in 1993. This video also is a really cool showcase of what using pre-web internet services was like. There is even a feature on early video conferencing developed at NASA! Definitely going to use this on digciz.jadin.me during history of the internet next time I teach it.
This resilient Raspberry Pi cyberdeck is made for the end of the world - The Verge
This is so cool. I wish something like this was available as a kit to buy. I have no reason to own something like this, but the nerd in me doesn't care.