Once upon a time all my Android apps and VMSoft related stuff were part of one big BitBucket git repository along with an issue tracker. This was a good idea when being an Android dev was just a hobby for the weekends and not my primary job.
Enough rambling 🙂 , this blog post is about moving files from one git repository to another and preserving your history.
Our goal is to move a single directory from one big Git repository to it’s own repository, we would like to preserve the commits history for that specific directory also.
In this example our big repo will be called A and our new repo that will host it’s own subset of files will be called B
First filter the files from the big repo (A) by leaving only the ones you need:
git clone< repo A url >cd< repo A directory >
git clone < repo A url >
cd < repo A directory >
Remove the “origin”
git remoterm origin
git remote rm origin
and filter A by < directory_to_move >. This action will go trough all the history and files and remove anything that’s not in < directory_to_move >.
More info on the inner workings of git filter-branch here.
I recently felt nostalgic and wanted to play some of the 8-bit NES games from my childhood. Having an emulator such as OpenEMU that can run NES roms is great but owning a physical device is even better.
Thanks to AliExpress I acquired a portable 8-bit game console with 168 games build in. It’s clone of Game Boy Mini called Coolbaby RS-6 A or Retro FC Plus known by the user manual. It’s a cool little gadget which I will review in details later.
The complete list of 8-bit games was nowhere to be found so here it is or at least this is what came loaded on my device: