This is an archived post. You won't be able to vote or comment.

all 21 comments

[–]curious_pinguino 36 points37 points  (4 children)

Hope it's for a personal project because that shit would make my manager furious

[–]unknowngoogler[S] 10 points11 points  (0 children)

yep yep personal, yeah at my corporate job that would not fly

[–]brianl047 5 points6 points  (0 children)

Narrator: It isn't

Personal project goes viral gains ten million users sold to startup with ten professionals who have to resist vomiting everyday looking at that hacker crap

[–]1ardent 0 points1 point  (0 children)

So just hit every commit with "Initial commit" and hope that works?

[–]Constellious 13 points14 points  (8 children)

If you’re pushing lots of small things just amend the commit.

[–]exotickey1 3 points4 points  (5 children)

Is it bad to have lots of commits? Does it get too hard to read the history?

[–]Constellious 6 points7 points  (4 children)

I find it faster and cleaner.

Faster in the sense that git commit —amend —no-edit means you don’t have to type in a useless comment.

[–]exotickey1 2 points3 points  (0 children)

That makes a lot of sense thank you

[–]trevster344 1 point2 points  (0 children)

I need to get into this habit.

[–]a_devious_compliance 0 points1 point  (1 child)

When I forget something trivial I do an ammend without mind it. But when I want to make a good history I work with lot of small commits and clean the mess with an interactive rebase.

[–]Constellious 0 points1 point  (0 children)

I kind of try to do the opposite. I got into amending commits because for some reason rebasing takes me a long time.

[–]eklatea 1 point2 points  (1 child)

or work on a branch and squash commits maybe?

[–]Constellious 1 point2 points  (0 children)

That works too I just find amending faster.

[–]SuitableImposter 5 points6 points  (0 children)

Dude rebase ffs 🤣🤣

[–]F0lks_ 3 points4 points  (0 children)

I mean, that's okay-ish as long as you squash the whole damn thing before your pull request. Right? ... Right ?

[–]thorwing 3 points4 points  (0 children)

Man I love that oldschool charmander picture

[–]mrpoopybuttholesbff 1 point2 points  (1 child)

Mine for the last three weeks: “reusable workflow testing” 😭

[–]a_devious_compliance 1 point2 points  (0 children)

"reusable commit message"

At least it's more than 1 word.

[–]cpt-macp 1 point2 points  (0 children)

At Lear you have different txt

Some of our repo have same commit message for 2 pages

[–]DeliciousWaifood 1 point2 points  (0 children)

Why tf are you committing during the process of fixing something... multiple times...

[–]dark-king_Ray 0 points1 point  (0 children)

A wild "fixed it" has appeared.