If Politics is Like Football 🏉

If politics is like football, defeating Donald Trump feels more like a successful goalline stand than a victory. We need to move very deliberately in the immediate term and then press hard.

The single largest thing holding back progress in America is First Past the Pole (&, by proxy the Electoral College). Ranked Choice is our best hope to rend power from exorbitantly-funded special interests. It’s like a salary cap.

The more Democrats serve the proletariat the better they’ll fare in future elections. If they kowtow to capitalists, Trump 2.0 Xtreme Edition will dominate in 24 (including down-ticket). It’s time to fake right and go left!

Git “feature branch” alias

git aliases are useful command-line shortcuts to save a minute or two here and there while working with your version-controlled source code (or other data).

Here’s one I’ve been using recently in case it saves you time too. It creates and checks out a new branch based on the latest code in the configured HEAD / upstream branch on the origin remote.

To use it, just add the following line to your `~/.gitconfig`

[alias]
        default = "!git remote show origin | grep 'HEAD branch:' | cut -d ' ' -f 5"
        fb = "!git fetch origin && git checkout -t origin/$(git default) -b"

To use this, you can run these aliased commands in a repository directory:

  • git default to get the default remote branch.
  • git fb try/some-new-feature to create a new feature branch based on the remote default branch. (fb is short for “feature branch,” of course).

EDITED

  • 2022-12-30 to add the separate default alias I’ve been using as well.
  • 2020-07-21 to continue to work with repositories that have moved away from calling the default branch master (Github is changing the default).