Hasty Briefsbeta

Bilingual

I found a useful Git one liner buried in leaked CIA developer docs

4 days ago
  • #productivity
  • #CIA
  • #git
  • WikiLeaks' Vault7 release in 2017 included CIA developer documentation with git tips.
  • A useful git command helps clean up stale branches that have already been merged.
  • The original command filters out the current branch and master, then deletes merged branches.
  • An updated version excludes 'main' and 'develop' branches, adapting to modern git conventions.
  • Creating a git alias ('ciaclean') simplifies running the cleanup command regularly.