this post was submitted on 03 Jul 2023
107 points (100.0% liked)

Git

2937 readers
1 users here now

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Resources

Rules

  1. Follow programming.dev rules
  2. Be excellent to each other, no hostility towards users for any reason
  3. No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.

Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.

founded 2 years ago
MODERATORS
all 26 comments
sorted by: hot top controversial new old
[–] DoubleEndedIterator 14 points 2 years ago (1 children)

Small Fixes

Added 1800 new lines...

[–] astraeus 6 points 2 years ago

Hey, no one ever asked for the quantity of small fixes :3

[–] [email protected] 13 points 2 years ago

One senior guy managed to merge with the commit template, as is, with **Insert brief summary here** and **description goes here**

[–] [email protected] 10 points 2 years ago (1 children)

It was one with a message that someone copied from a commit I had made a full year before. It broke the build right before a release and the commit message bore no relation to the changes, of course.

Because they had copied my message, it had my initials in. I had visits from irate managers in other buildings who ranted at me for a good 5 minutes without letting me get a word in to tell them that 1) it wasn’t me, and 2) undoing a subversion commit was a one-line command and not a good reason for the stupid amount of drama (there were no database or other irrevocable changes).

The last manager to speak to me told me it was still my fault as it was a bad message in the first place. The message read “Fixing typo in the audit log”.

[–] SuperFola 9 points 2 years ago (2 children)

"fix ci" "Again" "Maybe?"

Every time I work on CIs I just lose it after 1 or 2 commits and squash merge later on. Also when integrating projects together (eg I'm working on a language and made a POC for a new parser in a separate project) I'm just like "hajzjgkzlabai yes"

[–] fallenpixel 5 points 2 years ago

I know I'm having a bad day when my commit messages have question marks in them.

[–] qwop 3 points 2 years ago

You can tell when I've started to lose hope when my commits start becoming "Probably won't fix CI"

[–] mostlypixels 8 points 2 years ago* (last edited 2 years ago) (2 children)

"A dumbass committed her email address hardcoded as a recipient for all mails, again."

-- Me, the dumbass

[–] [email protected] 3 points 2 years ago (1 children)

You did it on purpose to feel popular, didn't you? 😛

[–] mostlypixels 1 points 2 years ago

Absolutely.

[–] declination 2 points 2 years ago

Its all fun and games until the email list doesn't include the people its supposed to and I get a call on a text on Sunday morning because 'Ahmahgad the etl pipeline hasn't started!?!?!'

[–] MooseBoys 5 points 2 years ago

git commit -m 'oops'

[–] mertssmnoglu 5 points 1 year ago

Two users trying to chat with each other via commit messages.

1: "Youtube bro" 2: "Ohoo thanks"

[–] Kwartel 3 points 2 years ago

Me on feature branches when I have weird CI issues: “floopie 7”. You can guess what the previous ones are. Yes I’m aware of amend but this is easier and I just iron that stuff out when I fixed my problems

[–] RobotAlien 2 points 2 years ago
[–] JackbyDev 2 points 2 years ago

Probably anything saying "Commit" as the main verb (apart from "Initial commit"). "Add some code" is annoying but "Commit some code" is so much worse to me. Yeah, of course, every commit is committing some code lol.

[–] kabat 2 points 2 years ago* (last edited 2 years ago) (1 children)

I use a single dot when committing to a feature branch. I will either rebase or merge --squash anyway, so what's the point really.

e: in my private projects that is, I use a jira ticket number at work, because I have to.

[–] [email protected] 2 points 2 years ago

Hehe I do the same, just a dot

[–] blurr11 2 points 2 years ago* (last edited 2 years ago)

For personal stuff especially when I use git just to sync between laptop and computer most of my commits are the things that don't work and I use for new stuff ~for changes and X for broken stuff.

So a commit can be " + new feature ~logging to accommodate new feature X Edge case crashes the new feature."

[–] theory 2 points 1 year ago

I just pushed "idefk", cause frankly, no idea what was in it, but it touched half the repo

[–] verstra 2 points 1 year ago

Empty commit message. Yes it's possible. Yes it's as bad as the cli tries to prevent it

[–] mertssmnoglu 2 points 1 year ago

Worst commit that i pushed receantly was git commit -m "._." for my personal js practice repo. I needed it because all of the content is "CRLF" but I'm using "LF" on my machine.

[–] PoolloverNathan 1 points 5 months ago

189cbca refactor

425b7de increased bullshitry levels

33bc72d works on my machine

f5fe8ed who the fuck cares

112e7ff probably did more shit

c02191c updater cool factor

[–] [email protected] 1 points 5 months ago

Debug

Degug

Debugging

Itdiydigxigxjxutxu

Debug