 
      
    | You are here | blog.danskingdom.com | ||
| | | | | www.lazy-electron.com | |
| | | | | I tend to use git from the command line frequently. There's a useful feature to reduce repetitive work called git aliases: | |
| | | | | haacked.com | |
| | | | | A git alias to clean up gone branches. Even ones that have been squashed and merged. | |
| | | | | www.erikschierboom.com | |
| | | | | Introduction When using git, local branches can track remote branches that no longer exist (the remote branch is gone). To identify these branches, we first have to cleanup (prune) the remote's branches: $ git fetch -p From https://test.com - [deleted] (none) -> origin/disable-feature-x - [deleted] (none) -> origin/fix-typo - [deleted] (none) -> origin/grammar-fix In this case, three remote branches were deleted. Let's see if we have local branches that are tracking deleted branches: | |
| | | | | pen.so | |
| | | After Apple's announcement, I ordered an M1 Mac Mini and canceled it when I noticed the non-upgradable RAM. I then reordered it (16G/1T), and it has just arrived today :grin: You've probably seen many online reviews (I watched tons of them on youtube) and what everyone says is true. It's fast! Pretty stable, and I can't hear the fan even while compiling. Looking at my geekbench you'll see it's the fastest machine I own, CPU wise, even more than my MBP 16" 2020. On the compute GPU level, it's slower, but ... | ||