Skip to content

bluebones.net

Adventures in Computer Programming – bakert@gmail.com

Month: April 2022

Posted on April 5, 2022April 5, 2022

Remove obsolete branches from git

Look up on the remote which branches have been deleted there and remove them from local.

git remote update origin --prune
git branch -vvv | grep gone | cut -d' ' -f3 | xargs -I{} git branch -D '{}'

Recent Posts

  • Are your Fellow Human Beings your Comrades?
  • muted, accent and secondary are all the same color in default shadcn/ui themes
  • Running a dozen Next.js devservers without losing your mind
  • Rebase a whole stack at once
  • shadcn/ui v3/v4 and –destructive theme variables
  • Psychopathic Git Shortcuts
  • Sort committers by average length of commit message
  • Gradient Borders with Transparent Background
  • How to keep your input and dismiss/cancel atuin
  • Starting more than one dev webserver each in its own terminal window (Mac)
Java Update Proudly powered by WordPress