π Learn π to π squash π those π commits π
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
Seriously. My colleague does the same shit and it made me so mad until I realised he was on his branch. Then I was like, whatever, as long as you do a proper MR.
You don't just write your entire project, then make your first commit?
/j
I do kinda do that with the initial commit (don't commit anything until I have something really basic that works). It feels awkward to commit code that does nothing.
That's all I ever commit
Yeh I use git (git commit --amend)
git commit --amend --no-edit and git push --force-with-lease
No-edit skips opening an editor for the commit message and just reuses the same message.
Force-with-lease will force push but only if your local is not missing commits that remote has. Ie other people haven't pushed anything since you last pulled.
rebase & fixup or reset are your friends
I love editing history. Fix the bug in the change that introduced it!
Then force-push, and fuck up someone's day!
git branches are free
work in your tree
til the changes are ready
300 git push --force-with-lease a day and nobody mad
I prefer to force push directly to the production branch.
computer equivalent of being a nudist
A dev on windows? Of course that's your git log!
Looks like a normal branch where someone debugs some GitHub workflow.
You need to learn refactoring/squashing
Is it humor because we make fun of you?
More like laughs out of relatability. Tho I am getting dogpiled for the industry standard practice of using what the company provides.
[Test] around and find out
I cannot give you a 100% for consistency. You have three inconsistent check in messages: 'tet', 'FueraEstanciaRowRename', and 'Revert "test"'. You must be uniformly informative with your messages.
nonsense, I would never use windows
I see I'm not the only one fighting with CI/CD pipelines.
Me when learning GH Actions/CI/CD
my private repo is filled with "stuff", "more stuff", "new stuff", "changes" commits.
Whenever I work on something, I donβt intend on publishing, I use What the commit.
well yeah, in an enterprise project we would say "chore(test)". Semantic release ftw!