Build With Matija Logo
BuildWithMatija
HomeAboutResumeServicesProjectsCommandsBlogContact

Commands Hub

A curated collection of useful commands and code snippets organized by tool and language. Copy, paste, and get things done faster.

Docker
1 command
Everything you need to know about using Docker to build, ship, and run applications in isolated environments.

Fix Git Repository Ownership and Permissions

Recursively changes ownership of the .git directory to the current user and sets appropriate permissions for Git operations. This command resolves common permission issues that occur when Git repositories are created or modified with root privileges.

sudo chown -R $(whoami):$(whoami) .git && sudo chmod -R ug+rwx,o+rx .git
cross-platform
Tools
1 command
Free tiny tools that help in a tiny way

Temporarily Override DNS for a Domain (macOS)

Force your Mac to resolve a domain to a specific IP by modifying the /etc/hosts file

sudo nano /etc/hosts
macos
macOS
hosts file
dns
Build With Matija Logo

Build with Matija

Matija Žiberna

Full Stack Developer specializing in Next.js and TypeScript. Co-founder of We Hate Copy Pasting, building solutions for D2C brands.

Quick Links

  • About
  • Projects
  • Commands
  • Blog
  • Contact

Get in Touch

Have a project in mind? Let's discuss how we can help your business grow.

Contact me →
© 2025BuildWithMatija•Crafting digital experiences with code•All rights reserved