A batch of tips, tools, and workflows for git  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏
href.email

This is issue 004 of href.email, your dose of interesting links about tech, dev and design.

This week we're sharing an odd bunch of links around one of our favorite and most frustrating programming tools: git! Git's been around for a while, here are some tips, tools, and workflows that are new or have gained popularity over the past few years.

  1. You know when git tells you your command was misspelled without doing anything about it? That's because autocorrect is off by default! With autocorrect enabled, "git chekout fix/email-typos" will automatically rerun as "git checkout fix/email-typos".
  2. Get to know git switch. Running "git switch feature/toggle" is similar to "git checkout feature/toggle" with some nice extras like automatically fetching the branch from the remote if it doesn't exist locally.
  3. When you force push, use --force-with-lease to avoid accidentally overwriting your coworkers afternoon.
  4. The de facto git workflow has been git flow for the past years, but you might also want to consider stacking branches to avoid code review bottlenecks from blocking your team from shipping.
  5. Not everyone's cup of tea, but there's a plethora of great GUI apps available. Some have proprietary features like being able to Cmd+Z pretty much any action that'd cause you to dig in the reflogs. Our favorites are Tower, Kraken, and Merge.
  6. Tired of being haunted by your past self? Take back control of your history and git-blame-someone-else for that faulty package update.
The sponsor of this issue

This issue of href.email is sponsored by Mailcoach, a flexible, privacy-friendly email platform for writers, creators, and more. Pay for what you send, not your subscriber count. Use coupon HREF for 3 months free.

Interesting links
  • Talking about stacking PR's: you should ship in layers. "A product development approach for maximum velocity."

  • Before thinking about shipping at all, make sure you got the basics down. A list of fundamentals for every programmer by Thorsten Ball. "Do the homework before the meeting. You’ll stand out. […] Know why your fix is a fix. […] Make it a goal that people want to work with you."

  • One of our favorite explainers Josh W. Comeau wrote an interactive essay on JavaScript promises. We promise you'll learn something!

  • DeskPad is a neat virtual monitor for macOS, useful to create a sharable workspace during pair programming sessions.

  • As indie software for macOS is in decline, take a trip down memory lane in this elegy for the native Mac app.

That’s it for this week! Thank you for reading href.email. If you enjoyed this issue, feel free to share it with your friends.

Brought to you by Spatie

Unsubscribe