May 28, 2024

Exploring GitHub Repos and PRs with gh, fzf, and a touch of GraphQL

Have you ever been awestruck by someone’s workflow and wanted to replicate it? I certainly have. My recent awe moment was when I saw my senior colleague, Professor Peter, navigating through GitHub repositories and pull requests from the comfort of his terminal. Moreover, he maintain multiple working directories within a single Git reposioty with git worktree. He’s a real wizard. I asked him to show me the way of the wizard, and he agreed to take me under his tutelage on the condition that he wouldn’t show me his code but would only guide me. Read more

December 19, 2022

Git Stash: deep dive

git-stash is a powerful subcommand in Git, that stores changes in a hidden place. Staged or unstaged changes or untracked files are stashed in a stash stack and the working directory is reverted to the last commit. It is useful when changes made to a branch is not ready to be commited and there is a need to switch to another branch. error: Your local changes to the following files would be overwritten by checkout: index. Read more

August 8, 2022

Terraform Theory

Terraform is an open-source infrastructure as code software tool that provides a consistent CLI workflow to manage hundreds of cloud services. Terraform codifies cloud APIs into declarative configuration files. Terraform helps you manage all of your infrastructures as code and construct it as and when needed. Here are its key main features: A console that allows users to observe functions The ability to translate HCL code into JSON format A configuration language that supports interpolation A module count that keeps track of the number of modules applied to the infrastructure. Read more

Powered by Hugo & Kiss.