The Real Python Podcast

Improving Your Git Developer Experience in Python


Listen Later

Are you getting by with a few fundamental commands for Git when building your Python projects? Would you like to improve your version control techniques and become more efficient with the Git command line? This week on the show, Adam Johnson is back to talk about his new book, “Boost Your Git DX.”

Adam brings advice about creating a Git configuration, enabling autocorrect, and customizing a global ignore file. He combed through the cryptic documentation and found the valuable developer settings, so you won’t have to.

Adam also shares tools and settings to speed up your terminal workflows. We discuss configuring Zsh, creating aliases, and comparing diffs. We briefly dig into the most recent update to Django and his work on the project.

This week’s episode is brought to you by Taipy.

Course Spotlight: Introduction to Git and GitHub for Python Developers

What is Git, what is GitHub, and what’s the difference? Learn the basics of Git and GitHub from the perspective of a Pythonista in this step-by-step video course.

Topics:

  • 00:00:00 – Introduction
  • 00:02:13 – When did you start working on this book?
  • 00:06:11 – Git’s tendency to be inscrutable
  • 00:08:57 – Audience for the book
  • 00:09:47 – What have you learned about writing?
  • 00:13:41 – What were you most excited to share?
  • 00:14:34 – Global Git ignore
  • 00:19:53 – Sponsor: Taipy
  • 00:20:58 – Backing up configuration
  • 00:22:37 – Git autocorrect
  • 00:24:48 – Recovering from mistakes
  • 00:27:58 – Creating terminal aliases in Zsh
  • 00:31:59 – Using a Colemak keyboard layout
  • 00:34:33 – Changing the diff-options to histogram
  • 00:37:22 – Altering the global configuration file
  • 00:39:36 – Video Course Spotlight
  • 00:41:05 – Brief history of the Git project
  • 00:44:27 – delta - syntax-highlighting pager for git, diff, and grep output
  • 00:45:22 – pygments-git - Pygments lexers for Git output and files
  • 00:46:56 – What are you excited about in the world of Git?
  • 00:49:17 – What are you excited about in the world of Python?
  • 00:52:51 – What do you want to learn next?
  • 00:53:50 – How can people follow your work online?
  • 00:55:23 – Thanks and goodbye
  • Show Links:

    • Boost Your Git DX
    • “Boost Your Git DX” out now - Adam Johnson
    • Boost Your Django DX
    • Git: How to set up a global ignore file - Adam Johnson
    • Git - git-config Documentation
    • Git: How to enable autocorrect - Adam Johnson
    • New zine: Oh shit, Git!
    • Oh Shit, Git!?!
    • Git - git-reflog Documentation
    • Oh My Zsh - a delightful & open source framework for Zsh
    • Starship: Cross-Shell Prompt
    • Git - diff-options Documentation
    • Git - Git Configuration
    • Colemak - Keyboard Layout
    • delta: A syntax-highlighting pager for Git, diff, and grep output
    • pygments-git - PyPI
    • Sapling from Meta
    • Jujutsu: A Git-compatible DVCS that is both simple and powerful
    • Django 5.0 beta 1 released - Django
    • Adam Johnson’s Blog
    • Adam Johnson (@[email protected]) - Fosstodon
    • Projects - Adam Johnson
    • Level up your Python skills with our expert-led courses:

      • Introduction to Git and GitHub for Python
      • How to Set Up a Django Project
      • Building Python Project Documentation With MkDocs
      • Support the podcast & join our community of Pythonistas

        ...more
        View all episodesView all episodes
        Download on the App Store

        The Real Python PodcastBy Real Python

        • 4.7
        • 4.7
        • 4.7
        • 4.7
        • 4.7

        4.7

        139 ratings


        More shows like The Real Python Podcast

        View all
        The Changelog: Software Development, Open Source by Changelog Media

        The Changelog: Software Development, Open Source

        288 Listeners

        Software Engineering Daily by Software Engineering Daily

        Software Engineering Daily

        625 Listeners

        Talk Python To Me by Michael Kennedy

        Talk Python To Me

        579 Listeners

        Soft Skills Engineering by Jamison Dance and Dave Smith

        Soft Skills Engineering

        289 Listeners

        Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

        Super Data Science: ML & AI Podcast with Jon Krohn

        303 Listeners

        Python Bytes by Michael Kennedy and Brian Okken

        Python Bytes

        213 Listeners

        Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

        Syntax - Tasty Web Development Treats

        988 Listeners

        Darknet Diaries by Jack Rhysider

        Darknet Diaries

        8,087 Listeners

        Tech Brew Ride Home by Morning Brew

        Tech Brew Ride Home

        970 Listeners

        Practical AI by Practical AI LLC

        Practical AI

        197 Listeners

        AWS Podcast by Amazon Web Services

        AWS Podcast

        207 Listeners

        Django Chat by William Vincent and Carlton Gibson

        Django Chat

        75 Listeners

        Last Week in AI by Skynet Today

        Last Week in AI

        311 Listeners

        Machine Learning Street Talk (MLST) by Machine Learning Street Talk (MLST)

        Machine Learning Street Talk (MLST)

        100 Listeners

        The Pragmatic Engineer by Gergely Orosz

        The Pragmatic Engineer

        70 Listeners