Skip to main content

Michael Uloth

The full content of my 3 most recent posts

  1. Ignoring files you've already committed

    If you try to .gitignore files after committing them, you’ll notice it doesn’t work: git still tracks changes to those files and they still appear in your remote repo. What to do?

    You need to remove those files from git’s cache.

    You can remove specific files or folders:

    git rm --cached <file> git rm -r --cached <folder>

    Or just clear the whole cache:

    git rm -r --cached .

    Then commit your changes so git knows which files it should track going forward:

    git add . git commit -m "fix: stop tracking ignored files"


  2. Tmux's version command is -V

    If you want to see which version of tmux is installed, you’re looking for

    tmux -V

    Not tmux -v.

    Not tmux --version.

    Not tmux version.

    Why you gotta be so special, tmux?


Recent Posts

  1. SELECT DISTINCT outputs a column's unique values
  2. It's tricky to statically type a "pipe" function in Python
  3. An iOS Shortcut can add data to a Google Sheet
  4. How to query a BigQuery table from Python
  5. CloudFlare sells domain names at cost
  6. Homebrew packages might install dependencies
  7. Shell functions don't need parentheses
  8. You can run shell scripts in tmux.conf
  9. Why Unknown Types Are Useful
  10. Using "object" as an Unknown Type in Python
  11. Defining a Custom Unknown Type in Python
  12. Undoing a Merge to Your Main Git Branch
  13. Switching Configs in Neovim
  14. Adding a Pull Request Template to Your GitHub Repo
  15. Dramatically Reducing Video File Size Using FFmpeg
  16. The translateZ Trick
  17. What is a Factory Function?
  18. Writing Great Alt Text
  19. Levels of Abstraction in Testing
  20. Using Slack to Report Data Entry Errors to Content Editors
  21. The filter(Boolean) Trick
  22. Using GraphQL with Gatsby
  23. Adding Content to a Gatsby Project
  24. Writing CSS-in-JS in a Gatsby Project
  25. Writing CSS in a Gatsby Project
  26. Wrapping Pages in a Layout Component
  27. Adding Pages to a Gatsby Project
  28. Writing HTML in a Gatsby Project
  29. Gatsby's Default Files and Folders
  30. Starting a New Gatsby Project
  31. What is Gatsby?
  32. Introducing Gatsby Tutorials
  33. How to Set Up a Mac for Web Development