Don’t Start Pull Requests from Your Main Branch
Explains why creating a new branch for pull requests, instead of using main, prevents workflow issues and conflicts in Git.
Explains why creating a new branch for pull requests, instead of using main, prevents workflow issues and conflicts in Git.
Learn how to use the 'git branch --show-current' command to display your current Git branch name for command line and automation tasks.
A guide on using VS Code's built-in Source Control to stash and apply Git changes without using the command line.
Mitchell Hashimoto proposes reorienting GitHub Pull Requests around immutable changesets to solve common review workflow problems.
A guide to automating the cleanup of stale branches from a remote Git repository, covering generic approaches and provider-specific options.
A guide to using PowerShell scripts to automatically delete merged or stale local Git branches, cleaning up your repository.
Learn how to give credit to other developers by co-authoring Git commits using the command line, with support from GitHub and GitLab.
A guide to resolving Git merge conflicts using the rebase command and VS Code's merge conflict editor.
Argues that pull requests are a valuable form of documentation, capturing the 'why' and context behind code changes for future developers.
Explores the benefits and various methods of using Git version control to manage and synchronize user configuration files (dotfiles) across multiple systems.
Explains why 'git branch --merged' may not show all merged branches and provides a solution, focusing on branch history sync issues.
Explains the difference between tracked and untracked files in Git, and how to start tracking new files.
Explores the risks and consequences of accidentally leaking secrets like API keys in code repositories, and how to prevent and respond to such leaks.
Learn how to sort Git tags by semantic version using command-line options and global configuration settings.
Introduces the 'diagrams' Python library for creating consistent, version-controlled cloud architecture diagrams as code.
Explains the concept of staged changes in Git, detailing the staging area and the two-step commit process.
A guide to using django-simple-history for tracking model changes and version control in Django projects.
A developer shares two custom Git commands, 'git ui' and 'git identity', to streamline workflow by integrating a GUI client and managing user profiles.
A beginner's guide explaining GitHub's core concepts like repositories, issues, and Markdown for professionals in non-technical roles.
Explores the pros and cons of committing Django database migration files to a Git repository, discussing conflict risks and performance.