Skip to main content

3 posts tagged with "cli"

cli tag description

View All Tags

Git: Discard All Local Changes and Pull the Latest Remote Version

· 6 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

To discard all your local changes and pull the latest version from a GitHub repository, you need to completely reset your local branch to match the remote's state. This process removes all uncommitted and committed local changes.

This guide covers the most reliable methods, including situations where you want to preserve specific local files like .gitignore or clean up untracked files.

Switching Python Versions: Complete Developer Guide to pyenv, Poetry, CLI Cheatsheet, and Troubleshooting

· 9 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Managing active Python interpreters is a fundamental workflow requirement, particularly when developing across multiple backend microservices with competing runtime constraints or legacy dependencies. Directly altering system Python binaries breaks core OS utilities.

This guide provides a comprehensive manual on how to switch Python versions safely, featuring pyenv (installation, precedence mechanics, CLI cheatsheet, and troubleshooting), Poetry (project-level virtual environments), operating system overrides (Linux, macOS, Windows), and containerized Docker environments.

How to install supabase cli

· 3 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

You can install the Supabase CLI using a variety of package managers, including npm, Homebrew, and Scoop, depending on your operating system. The CLI is a powerful tool that allows you to manage database migrations, develop locally, and deploy your project.