AAmaresh Pelleti·1d agoGit Recover Lost Commits: 12 Fixes for Common MistakesOriginally published on DevToolHub. To git recover lost commits, run git reflog, find the hash from before the mistake, and point a branch at it with git branch rescue <hash>. Almost every local Git8 min read·devtoolhub.hashnode.dev
MMin SiThu·3d agoHow Does Merging Code Actually Work? Branches, Conflicts, and Pull RequestsTwo people changed the same file — here is what happens next, and why it is not scary6 min read·itsmeminsithu.hashnode.dev
AAbdus Salam·4d agogit stash Leaves Your Untracked Files Exactly Where They WereI used to think git stash put my working tree back to a clean HEAD. That is wrong in a specific and painful way, and I found out on a day when I stashed my work to pull a teammate's branch, then watch5 min read·aheadkit.hashnode.dev
AAtul Vishwakarma·5d agoGitLab Flow: The Middle Ground Between GitFlow and GitHub FlowEnvironment branches, release branches, or a production branch: how to pick the GitLab Flow variant that matches the way you deploy.6 min read·atulcodes.hashnode.dev
MMin SiThu·Nov 6Version Control, Explained Simply: A Time Machine for Your CodeWhat Git actually does, why every team uses it, and the handful of ideas underneath the commands6 min read·itsmeminsithu.hashnode.dev
AAmaresh Pelleti·Nov 6Git Pull vs Fetch: What Each Command Really DoesOriginally published on DevToolHub. git fetch downloads new commits and leaves your branch and your files alone. git pull runs a fetch and then merges or rebases the result into your current branch.9 min read·devtoolhub.hashnode.dev
AAmaresh Pelleti·Oct 28Git Reset vs Revert vs Restore: Which to UseOriginally published on DevToolHub. Use git reset to move your branch back, git revert to undo a commit with a new commit, and git restore to fix files without touching history. The git reset vs reve10 min read·devtoolhub.hashnode.dev
AAtul Vishwakarma·Oct 27GitFlow Workflow: The Traditional Branching Model, and When It Still Makes SenseA practical guide to main, develop, release and hotfix branches, with commands, diagrams, and the mistakes that trip teams up.5 min read·atulcodes.hashnode.dev16EA
WWaqas Shahid·Oct 26Git Branching Explained: Work Without Breaking the Main CodeIntroduction A branch is a separate line of work in Git. The main branch, usually called main, holds the stable code. When you start a feature or a fix, you create a branch, work there, and merge it b3 min read·practicaldevblog.hashnode.dev
AAlicia Drapeau·Oct 20Getting Started with GitHub: A Beginner's Guide to Repositories and CommitsLearn how to create a GitHub repository, edit a README file, make commits, and review changes using GitHub's website. A simple guide for beginners.7 min read·aliciadrapeau.hashnode.dev