Notes on pre-commit
An analysis of the pre-commit tool for git hooks, covering its benefits, configuration, and practical drawbacks like dependency duplication.
An analysis of the pre-commit tool for git hooks, covering its benefits, configuration, and practical drawbacks like dependency duplication.
A developer details the process of rebuilding a Windows development environment, covering backup, OS reinstall, and using winget for app setup.
A guide to using Git worktrees for managing multiple branches in separate directories, improving developer workflow.
A tutorial on cleaning up merged Git branches using a simple Bash script, with customization and local ignore tips.
Argues against prematurely squashing/rebasing PRs before review, explaining how it hinders reviewers and suggests using 'Squash and merge' on merge instead.
A Laravel security tip on using Git's selective staging (git add -p) to review code before committing, preventing secrets or debug code from being pushed.
An introductory guide explaining the core concepts of Git, including repositories, remotes, commits, and branches, with practical examples.
A guide explaining how to push a locally created Git tag to a remote GitHub repository, including commands and verification steps.
A guide on installing Node.js, using the n package manager to easily upgrade/downgrade versions, and understanding LTS vs. Current releases.
A guide on configuring multiple SSH keys and Git identities to separate work and personal GitLab/GitHub accounts.
A developer's argument for moving open source projects from proprietary platforms like GitHub to open source forges, highlighting ethical and sustainability concerns.
A guide to using Git worktrees for easier context switching between branches, avoiding messy rebases and stashes.
A humorous April Fool's project for printing git commits on paper and mailing them, with a look at the prototype code.
A guide to configuring multiple Git commit email addresses globally, using folder-based conditional includes in your .gitconfig.
Argues that GitHub's 'Create a merge commit' option is the best merge strategy for maintaining a clear, useful Git history with atomic commits.
A tutorial on using Git's cherry-pick command to move a commit from an incorrect branch to the correct one, preventing duplicate work.
A step-by-step guide to renaming the default branch from 'master' to 'main' in both a local Git repository and on GitHub.
A quick guide to cleaning up your Git repository by deleting local merged branches using a one-line command and alias.
A step-by-step guide to setting up signed Git commits using Keybase and GPG on Windows 10, including installation and configuration.
Explains how to use the minus (-) sign in Git as a shortcut to refer to and switch back to the previously checked-out branch.