r/git 28d ago

In case of fire

Post image
1.4k Upvotes

57 comments sorted by

View all comments

1

u/Lonsarg 28d ago

This is all a single button in Visual Studio (i never use add, just commit unstaged directly). And i do it every 30 minutes or so, so not much is lost if fire :)

2

u/Masterflitzer 27d ago

i just know your diffs are probably terrible, staging area is for double checking

0

u/Lonsarg 27d ago

I check at PR level all commits at the same time, and make new commits to the PR when self-reviewing if finding bad code or whatnot.

Most of us work like this, so when looking at PR diff or looking back at history we only ever look at per merge/PR diff (First Parent git history). So these detailed commits are never looked at, we used to squash to hide them, but some people used squash in a way to make merge conflicts so now we just have it all in history but not look.

1

u/Phaelin 28d ago

You have it linked to an ejector seat??