Home
Preparation
Song & Poem
Blog – page 12
You accidentally ran git reset --hard and lost commits
7 July 2026
·
Mahmudul Hassan
You committed to the wrong branch. How do you fix it?
7 July 2026
·
Mahmudul Hassan
What's the difference between git reset and git revert? Which is safe on a shared branch and why?
7 July 2026
·
Mahmudul Hassan
Explain the differences between git reset --soft, --mixed, and --hard
7 July 2026
·
Mahmudul Hassan
What is git rebase -i (interactive rebase)? What operations can you perform with it (squash, fixup, reword, drop)?
7 July 2026
·
Mahmudul Hassan
What's the golden rule of rebasing? Why is rebasing shared/public branches dangerous?
7 July 2026
·
Mahmudul Hassan
What does git cherry-pick do, and what's a real scenario where you'd use it?
7 July 2026
·
Mahmudul Hassan
Walk me through resolving a merge conflict. How do you minimize conflicts in a team?
7 July 2026
·
Mahmudul Hassan
What is a fast-forward merge, and when would you use --no-ff deliberately
7 July 2026
·
Mahmudul Hassan
What's the difference between git merge and git rebase? When would you choose each?
7 July 2026
·
Mahmudul Hassan
← Newer posts
Page 12 of 101
Older posts →