#git

4 posts
Development

You Reset the Wrong Branch. It's Still There.

It's 6:40 on a Thursday. You meant to run `git commit --amend` on your own branch, but your terminal was sitting in the wrong tab, and now the last three commits on the shared branch look nothing like...

2026.09.07 · 18 min read · views 465
You Reset the Wrong Branch. It's Still There.
Development

You Deleted the Wrong File. Git Already Had a Copy.

It's 11 p.m., you're two hours into a feature, and you decide to "clean things up." You delete a file you were sure you didn't need. Ten minutes later your app won't start, and that file is the reason...

2026.08.09 · 16 min read · views 904
You Deleted the Wrong File. Git Already Had a Copy.
Development

Git Rebase vs Merge: The Two Questions That Settle the Argument

You've been heads-down on a feature branch for four days. The tests pass, the code is clean, you're proud of it. Then you open the pull request and someone leaves a one-line comment: "Can you rebase o...

2026.07.19 · 19 min read · views 757
Git Rebase vs Merge: The Two Questions That Settle the Argument
Development

Git, Explained for People Who Only Know How to Commit

There's a moment almost every developer hits early on. You've been using Git for a few weeks. You can `git add`, `git commit`, and `git push` without looking anything up. Then a teammate says somethin...

2026.07.07 · 18 min read · views 968
Git, Explained for People Who Only Know How to Commit
AD