Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "commit"
-
They said I needed to keep my commit messages "PG13".
What they failed to realize is every PG13 movie is allowed 1 instance of "fuck".7 -
Sister: "You can't commit to......"
Me: *has flashbacks of Git Commit issues doesn't even hear the rest*6 -
"should I commit this? nah let's just implement this huge feature first and commit that clusterfuck of changes with a commit message «changes»"8
-
A true story... sad but true
2.00AM ->> git commit -m "it's time to sleep"
2.45AM ->> git commit -m "I can't sleep, fixed the UI issue"3 -
A new way of making bad commits:
alias fuckit='git commit -m "$(curl -s whatthecommit.com/index.txt)"'
Its like Russian roulette with commit messages!24 -
one big fucking note to starting Node.js programmers
never
EVER
commit node_modules
seriously you're a fucking retard if you do commit that shit16 -
I always forget to commit my changes and then when someone reminds me, I usually commit 1 weeks work in one single commit.6
-
My lead keeps pushing commits to master. His commit messages vary from: no message, yeah, and yup.
and yea, some of the build break master.
Makes me just wanna die sometimes when digging through our commit history to figure out when a bug was introduced.27 -
My coworker said she'd rather commit seppuku than use Edge.
My first thought was "commit it to what?"
I forgot commit had another meaning ...8 -
Wife: commit, and come to bed..
Me:
> git commit -m "wife wants me to go to bed"
> git push origin master -f16 -
After giving them a 30min talk about the importance of proper commit hygiene and the dos and donts of git, I proceed to commit changes of different nature in 4 files as a single commit named "did stuff".
I lost all authority on the subject forever.10 -
That moment when you sit down at your PC and realize you forgot to push your latest commit from your laptop.3
-
Watch your git commit messages, you never konw when a webhook might publish the whole thing to Slack...9
-
I generally like to separate changes into as many commits as is reasonable. That way I can go back and see how, why, when and what was changed, along with meaningful commit messages.
But sometimes...
Git add *
Git commit -m "changed lots of stuff"
God I hate myself.3 -
Argh!
I just realized that I committed and ran a migration with a typo in a column name.
We now have a :last_polll_capture_at column. 😭
Time for a commit of shame...13 -
!rant
Just pushed commit #512 today.
Was a huge refactoring effort which went sooooo smoothly <3
Pull from parent branch without merge conflicts <33
No issues with deployment <333
AND i'm now on vacation 🏳️🌈❤️🏳️🌈❤️🏳️🌈
Things are perfect6 -
Me: Baby, I can't do what you want me to because I need to learn how to use Github and it is taking longer than it should.
Girlfriend: Don't feel bad, maybe you're just not ready to commit yet.
Me: Laugh and die a little inside because I understand the pun but not the program.5 -
git commit -m "last"
git commit -m "last1"
git commit -m "real last"
git commit -m "real last 1"
git commit -m "real real last"8 -
The feeling when you try to be creative on the first commit message but end up using 'Initial commit'...5
-
git commit -m "It's 4:59pm, let me commit since it seems like a sane choice even though everything is currently broken"10
-
I worked with this guy at a startup one time, and just to annoy me, he would write commit comments describing how I was such a bad developer, or how I was such a horrible person. After like the 15th time he did this, I decided to be totally unprofessional and do the same for him... our commit comments quickly turned into a conversation where we would just insult each other (as a joke).
The original developers of the startup no longer work there (including me and him)... I wonder who's reading those comments now.3 -
Commit fast, commit often.
I lost a day's worth of code once, because I wanted to commit all of them in the evening right before I was to go home. Then I mistakenly hit `git checkout .` instead of `git add .`.
Poof. Gone.9 -
Always answer these 2 questions in your commit message: (1) what will happen if this commit applied? (2) why this change is being made?2
-
Commit Message Part2:
6528fff Code was clean until manager requested to fuck it up
241b35f Who knows WTF?!
4381a32 Argh! About to give up :(
c3bf1a9 more debug... who overwrote!
2d68d6d Fixed a bug cause Maciej said to
b112c1a This branch is so dirty, even your mom can't clean it.
bb456d4 Shit code!
4878b46 Copy-paste to fix previous copy-paste
e2c7e87 A fix I believe, not like I tested or anything
f56109f derpherp
e4b8f4c formatted all
3691208 I'm just a grunt. Don't blame me for this awful PoS.
0888b69 just checking if git is working properly...
62741aa I'm too old for this shit!
0735196 COMMIT ALL THE FILES!
09caccf I CAN HAZ PYTHON, I CAN HAZ INDENTS
1e1cda8 giggle.
ab70bde Fixed errors
934436d Now added delete for real
5f84e30 My bad
99baff8 CHRIS, WE WENT OVER THIS. C++ IO SUCKS.
953473d final commit.
f0c3b57 Just committing so I can go home
4e5ce4e yolo push
deb4e3b I CAN HAZ PYTHON, I CAN HAZ INDENTS
710c06a Commit committed....
3c45e67 it is hump day _^_
4487788 Committing in accordance with the prophecy.
bf86e7e This solves it.
4804f68 FONDLED THE CODE
051d42e REALLY FUCKING FIXED5 -
TL.DR.: Emojis in commit messages + bad commit messages made by Microsoft™ employees.
Yes, I'm looking at you Microsoft. It would be helpful if I can, you know, understand your commit messages instead of trying to guess wtf _that_ emoji means. That is, if it is the same emoji on my machine. We didn't figure that one out yet. And no, "Some 💄 changes ✨" is not a good commit message, even if you interpret it correctly (which depends on your emoji icon set).
idk about you, but that shitty 💄 emoji tends to be (see image) and I happen to associate that with an XLR audio cable. I had to ask someone else to understand a commit message; a message supposed to be explicit—stating what you changed and optionally why you changed it (you can off-load that part to an issue tracker).
Furthermore, that "Some 💄 changes ✨" commit did none of that. "I made cosmetic changes somewhere for some reason without linking to an issue." If you didn't catch that little detail yet: "COSMETIC CHANGES" is vague as fuck. What is a cosmetic change?
* Does a cosmetic change mean adjusting indentation?
* Does it mean deleting unnecessary abstraction to make the code more readable?
* Does it mean refactoring code to add that beauty factor?
* Does it mean all of the above? Or perhaps a specific combination of these?
Human communication is shit enough, don't make it worse than it already is.22 -
That moment you find a piece of code on the live site that is completely different on master in the repo, and has never been modified in the commit history.
Happy Thursday 😐3 -
My new favorite commit message:
> code modified
It must be the most redundant commit message ever15 -
Trying to write more commit , so that i can stay top in github project chart with less real code be like....
Git commit -am "added p in code"
Git commit -am "added r in code"
Git commit -am " added i in code"
Git commit -am "added n in code"
Gir commit -am "added t in code"
Git commit -am " gave the proper indentation to print"6 -
Beginning of the project:
git commit -m "Added index.html, implemented user-creation"
Towards the end of the project:
git commit -m "Idunno, did some stuff or so (ノಠ益ಠ)ノ彡┻━┻"2 -
- git commit -m "well described comment explaining addition"
oh crap forgot to take out this one thing
- ctrl-S
- git commit -m "ahskdbejjeebdosjeb"3 -
Me: Please don't commit the binaries
PM: We need to commit all the files so we can track process
Me: that's not how it works!2 -
Remember kids, clear out any login credentials before doing git commit and git push!
/smacks himself6 -
... late night coding session ...
... me, tired as hell committing last porting of changes ...
... git refuses my attempt for commit ...
....
$ git vommit -am ........
It's time to go sleep when you vomit instead of commit. -
When you're in doubt... commit as "Refactoring"
It works 100% of the time and nobody is gonna check3 -
soo.. yeah.. I've just solved an annoying bug using only chatgpt.
My first commit in this new project. And it's based on chatgpt.
Literally just saved me from days of reading through kafka docs, auth mechanisms and other stuff. And no, the google did not provide me with a proper answer/hints. The only hint was "the configuration might be wrong". Well alright, but I was NOT using any configuration in the first place...
Fun times ahead :) I might even consider the pro version if it keeps delivering like that.16 -
“Commit“ sounds like the german “komm mit“(come with me).
NonDev coworker asked me what “Komm mitting“ is1 -
Am I the only one who doesn't judge a programmers contributions by commits or change history?
Frequently I'm always near the bottom of contributors, because I don't make a million commits when it's broken. And I don't commit lines that will likely disappear in later commits. I like to finish a function, test it, check it, rework, and then make a "made function()" commit, as apposed to:
"Wrote function()"
"Wrote unit tests for function()"
"Fixed error"
"Code cleanup"
"Style guide compliance"
"Reworked function()"
etc.
Sorry that I keep my commit history clean and ensure it builds.7 -
Why do people fucking do this? You're working in a team, ffs. Even if right now you're the only one working on that branch or whatever, that doesn't make it okay to have the most useless commit messages of all time.11
-
"Potimized imports and remopved temp code"
Can't help but wonder what's the code quality like from an author of such a carefully written commit message 🤔4 -
I think it's the first time I see 1 million lines changed in a single commit. Amazing.
https://github.com/DrKLO/Telegram/...5 -
Don’t you love when you name your commit and push something like “Fixed x, y, and z” but the actual changes are in the unsaved files you forgot to save, so you have to do, “Actually fixed x, y, and z.”18
-
Not separating different changes into different commits, and just adding "a few tweaks" when I can't be bothered to list changes.
git commit -m "Added x, updated y, renamed z, and a few other tweaks" -
git commit message that I hate:
1. "Adjustment"
2. "Improvement"
3. "Fix Bug"
4. "I commit it but there are bug in this code"
5. "Client request"
YOU KNOW BE MORE SPECIFIC ON YOUR COMMIT MESSAGE!!!9 -
When you come back to work and want to see what has been changed in repo but commit messages look like that :(5
-
git commit -a -m"fix image"
git commit -a -m"fix image 2"
git commit -a -m "fix image 2 bug"
git commit -a -m "fix image 2 bug bug"
git commit -a -m"fix image final"3 -
[First rant] When you commit the wrong code to the deployment branch.
This happened to me yesterday 😅 Reverted it but everyone knows what I did by seeing the commit history5 -
Just commited to my repo ; last commit was 6 days ago. I'm happy, finally decided what algorithm i'll use and implemented it !! :)
-
git commit messages
at work:
Only related changes on commit
"Detailed explanation of changes
- This bug
- That bug"
personal project:
1732 changed files
"Changes"3 -
"Changed HTML" has got to be the best commit message ever... Especially when the commit is mostly .cs files.1
-
When you make a mistake and try to fix it, but you can't remember how to spell amend...
git commit --ammend
error: unknown command `amend'
git commit -ammend
[branch-name] mend
Huh?
git log
commit #
mend
Created a new commit with message 'mend'. Now to clean this all up and go get some sleep!2 -
git push --force
Because I always push after every commit, when the slightest fuckup happens I just hard reset, commit again, and force push...
...even if it's just a typo in the commit message6 -
Wanted to find out a particular change of my gitlab-ci.yml file from commit history.
I guess that's not gonna happen anytime soon.1 -
Okay...
I can understand, that you´ve never used a file versioning system.
But why the everloving fuck would you commit EVERYTHING BUT the files you have added or edited???
Don´t you have some common sense?
The hell is wrong with you?
(My thoughts after seeing the last commit of the new intern...)9 -
'I don't want to push this commit yet'
Proceeds to write commit title and presses push.
'Wait, fuck ..'8 -
When you debug a project on someone else's computer, and then commit push, and the manager tells you that you dont have enough commits . Fuck it.2
-
Passive aggressive commit notes should be mandatory, such a good stress reliever and conversation starter.4
-
When you accidentally commit and push code that has massively commented out sections that you meant to remove >:/
-
When our co-devs don't commit for days at a time, then commit with a message like "mondays commit" -.-4
-
Yesterday me and my friend started a project. I set a github repo and said him to "If you make something with code just commit the changes to github so I can see what you did". After a while he said "I've commited something". And I checked what he did. There was 3 commits and they were exactly like that;
Commit 1. Test
Commit 2. Test 2
Commit 3. I wrote something
Then I said "please explain what you did when you commit changes". And he said "why we just upload the codes to the cloud it's more easier".
Today project is ended. Uploading codes to the cloud...6 -
GIT COMMMIT LOG VERSION 011
-------------------------
4cc7d0d Derp, asset redirection in dev mode
6b6e213 Lock S-foils in attack position
1e44549 I am even stupider than I thought
2f6bec9 You should have trusted me.
891851a To those I leave behind, good luck!
3367d77 Update .gitignore
46d6b0f Merging the merge
b12f6fe First Blood
0598e4f 8==========D
9151ff4 Finished fondling.
3a0ec1e ...
8358c20 c&p fail
bc1e834 magic, have no clue but it works
31bb17a I don't get paid enough for this shit.
21edb91 :(:(
7a71610 Stephen rebase plx?
2060661 Copy-paste to fix previous copy-paste
21ac5d2 Handled a particular error.
2dedd90 pam anderson is going to love me.
c3d4c83 omg what have I done?
d38bafd Herping the derp derp (silly scoping error)
e461773 Merge pull request #67 from Lazersmoke/fix-andys-shit Fix andys shit
1faf82b Is there an award for this?
1f6e3f3 Feed. You. Stuff. No time.
6f0097d I'm too old for this shit!
133179e I'm just a grunt. Don't blame me for this awful PoS.
d3e5202 harharhar
57d9a7c THE MEM TEST FUNCTION YOU ARE LOOKING FOR, IS HERE. SAY THANKS FOR THIS COMMIT MESSAGE -
I think a "git commit -hide" option could be useful. To hide the author of the commit when you push dirty code.2
-
Commit as you go. Work on one thing at a time. Be detailed in your commit messages.
Finding and reverting that one small change that breaks everything is so much harder to do when you change lots of files and the commit message is "update".2 -
I just found out you can commit single lines of a file without the necessity to remove temporarily debug lines every time ... it has blown my mind.8
-
Intern - adds commit message like "added two files"
Me - Hey Intern, I've added commit lint, please don't disable precommit hooks.. so let's follow standard commit message format
Intern - commits like "feat(app): fix changes"
*later*
Me - Hey Intern, please commit with short meaningful messages like what actual changes were made
Intern - commits like feat(app): whole long story of what he couldn't do and some changes..
Me - 🤦5 -
Browsing various log files because I'm easily distracted. Found this masterpiece after running `grep "commit -m" ~/.zsh_history`
"init commit to GITHABS"
wtf, younger me?6 -
What dumb twat decided to commit a change with the message “FUCK”. And it not just one, it’s 10 or more in a fucking row!!!!!
Thanks, that’s really gonna help me understand what was changed 😡5 -
When "Programmers" don't understand how something as simple as git works.
>Do they keep whole repository in a zip file for each commit? Having made 100 commits is there 100 zips with all the files? or is each commit additive to the first commit. so that 1 zip with all the files you just get files added or removed based on what commit you are downloading?
Stuff like this makes me cry.....
-commit 1GB file
-commit another 1GB file
Repo is now 3GB? Seems legit right?8 -
So I started using Git! So far, I've committed my .gitignore file, whatever that is... And I can't get anything else to commit....
I'm gonna commit....3 -
My new team mates type in the date and time of commit on their commit messages and maintain code only on master branch. Some people deserve have their write access revoked.2
-
*Commits the work with a typo in your commit message*. Shit. Commits again just to change the message.
#alwayshappens1 -
git commit -am 'needs refactor'
// months go by
git commit -am 'hotfix, also needs refactor'
// ... repeat -
My colleague just did a commit with random method additions to the models classes in order to show to our teacher that he did "something".
This makes me cringe.6 -
I made a huge mistake
I got "in the zone", I was coding so nice and fast and everything was working, so I didn't want to commit every single minute and then have to go back, cherrypick commits squash them revert them etc.
So I didn't commit anything at all... Now if I were to commit the commit would modify 2 files, create 26 new files and delete 2 files.
The changes include moving from JS to TS, implementing a desearialization scheme, implementing a server class and wrapper client classes, with common type interfaces for different requests...
So now I need to save my changes somewhere, go back to the last commit and slowly incorporate the changes.
I'm dumb9 -
Committing code with the same commit message although you refactored several times and changed the structure1
-
Typical Git work flow on a feature branch:
Commit#1 : The silly feature itself that took 10 minutes to code
Commit#2 : Added unsaved files
Commit#3 : Fix unit tests
Commit#4 : Fix
Commit#5 : Fix
Commit#6 : Fix
Commit#7 : Various Fix
Commit#8 : Added unsaved files
Commit#9 : Merge
Commit#10 : Fixed unit tests
Commit#11 : Code Review tasks
Commit#12 : Revert- Code Review tasks
Commit#13: Refactor part 1
Commit#14: Refactor part 2
Commit#15: Deleted unit tests
Commit#16: Added checking for null
Commit#17: Completely different feature's bugfix
Commit#18: Code review spacing corrections
*Approved*
Trying to merge, then merge conflicts.....2 -
This is about both worst boss and most annoying co-worker.
Well, this boss didn't care how much code we wrote, or how good it was (well, at least he didn't care that much); only how much commits we do. And this coworker literally did a script to do a commit every 10 minutes. 24/7. Everyone else was completely mad about it and about a week later we achieved that he was kicked from the job. Since then I still get trauma if someone commits something unimportant.9 -
When do you guys commit? Genuinely curious. I usually commit at the end of the day detailing all I did. What about you?11
-
git add . && git commit -m "Because we're constantly interrupted and because we are not given enough time to do things properly, I need to check in and out of branches all the time (because separate envs are actually separate branches now) and have to interrupt what I'm doing. So this commit message reflects that."10
-
I discovered a commit message from one of my (senior) colleagues today. It made me shudder. It read, 'Just adding some changes made outside of source control and deployed (over last 12 months)'.
I genuinely think he can't follow any processes he didn't design. He controls the servers too, so it's not like any pipeline would prevent him from just doing what he wants. It's a bit scary to be honest, he thinks MD5 is a secure password hash! -
I don't always commit the changes in SQL, but when I do, I commit more than 3 times just to make sure.1
-
Just posted a comment, and I realise it should be a rant.
In reply to stalkCoder (i think):
| At first there was nothing
| $: git init
| And then there was light
A new creation myth appears.
$ git add --all
$ git commit -m "Update 32 at 2:48 AM"
$ git push
The new creation myth is destroyed by the pure rage of a thousand Git commit message standards. -
"Sweet, I fixed story 1 and can commit! ...but issue 2 is pretty small, let me just work on that first so there's 1 pull request".
4 hours later, issue 2 not done yet, and I can't push push story 1 to QA until I finish it. I really need to stop doing that.4 -
I think my company used to work with an innovative developer centric approach to software development where you make commits based on the state of the developer rather than the code. 😂
Translation : "My DD is going to fail hence I commit" and "I'm tired".3 -
Okay, seriously, who invented merge conflicts? I want names! It's like playing Jenga with code, hoping your masterpiece doesn't topple over. I've seen more ">>>>>> HEAD" blocks than actual code lately.
Can we all agree to commit more frequently and save my sanity, please?5 -
Today I saw one of the most detailed commit messages:
[+] further implementations
Don´t know if I sould laught or cry. ^^3 -
Fuck, wanted a year long streak on github but failed at 40 days.
I did code but just had no part finished so didn't commit.
I even have an alarm for committing ffs. I just snoozed it and was like I do it when I finished x. Forgot track of time like always with coding and found out four hours later.
Fuck. Back to one. I just start over, it shouldn't be that hard.
I should change my commit behavior to push if compiles instead of push after complete feature. So, I change the definition of achievement easier to achieve6 -
Those people who don’t even understand the commit message
Who commits using commit message “commiting”?3 -
Anyone else here love staring at the commit train railways? It's pretty 😍
pic related: not so complicated as we are a team of two working on different branches.3 -
I had to make a commit today to protect my code from my cat. And it wasn't even the weirdest commitlog I've ever made.
-
Fucking hate it when I have to stop coding and commit in the middle of some function, always end with some weird commit message10
-
[Question]
If there is an fire, smoke starts to fill the room quickly, and you are working on your code, will you "git commit / git push"?3 -
Readme.md
*Todo: Add description*
>103 commits
>Last commit: a year ago
>Last commit on readme: 5 years ago
Slothful cunt, you don't deserve these 7 stars -
Git Commit Part 3:
28d48b0 This is why the cat shouldn't sit on my keyboard.
95df68f I must enjoy torturing myself
c5acfc2 Fix my stupidness
3a57702 I hate this fucking language.
6cb212a Too tired to write descriptive message
292b1e2 That last commit message about silly mistakes pales in comparision to this one
f4a091f Does not work.
5af1ca1 small is a real HTML tag, who knew.
e7d2d84 Best commit ever
f54d32b de-misunderestimating
f587ca1 Added translation.
352e29c Future self, please forgive me and don't hit me with the baseball bat again!
54403a6 Now added delete for real
9f42f38 Who knows...
5df8457 more ignored words
56bd0ef Added missing file in previous commit1 -
Every time I hear footsteps in the office comming my way after a commit: "Oh dear god, what did I break?!"2
-
> merging feature 20155
> Removing debug messages for previous commit
> Fixing bug from feature merge
> Fixing bug from previous fix
> Merge fml -
That feeling when you mess up and you need to add a new commit and mention in the commit message that the previous commit ( that you created ) was a mistake.
I'd be happy to do the same thing if it was someone else's mess up.2 -
git commit -m “it compiled”
git commit -m “typo”
git commit -m “ugh”
git commit -m “wtf”
git commit -m “ok this doesn’t totally suck”
git commit -m “:shipit:” -
once I was listening to Kanye West, Drake and jay-z while scrolling through the my twitter. I was so inspired and moved by the music that I decided to built a website that teaches egocentric, entitled people the foundational skills needed to rule the world.1
-
When you come home enthusiastic and you want to continue on a project you've worked on the entire day, but you forgot to do a git commit at work... *sigh* Out-dated files, missing resources,... Guess I'll have to wait 'til monday..1
-
Android Studio upgrade
Over the weekend I upgraded my android studio and the project files of my current project and all went smoothly (as far as I thought).
I did not touch the project till today as was implementing some few features only for some few unexpected bugs to creap in.Been implementing that feature for some time and thought would be done in a flash only to my disappointment.
Turns after upgrading my SDK they were some conflicting dependencies that had no idea of.
To make it worse my fall to branch was way behind the active one and had to create a new project from scratch and copy paste files.
All this after spending hours in Stack
Overflow and scratching my head.
Lesson learnt to commit more frequently.1 -
Committed a crime today.
BTW made possible by:
File>/usr/bin/commit
#!/bin/sh
str="$*"
git commit -m "$str"3 -
What's your git style? Commit many times as a sort of change tracker/backup regardless of feature completeness or functionality, or only when something is complete and passes tests?6
-
$git commit -m "fix fucking bug again"
$git push
fatal: Right now you can only push 1 commit every 2 rants (every 1 rant for gitRant++ members) because we want to make sure everyone's commit are pushed in a relaxed state of mind! 2 rants to go until you can push another commit.7 -
When you commit "removed unused imports" because you have no idea what you did.
and then you actually find a unused import... Better commit again!2 -
My teammate doesn't understand that the quantity of lines/method that he does in one commit nor the number of commits he does in one day translate directly into the quality of his commits.2
-
So asked to help out on an extra project that another Dev ( who is a senior developer ) is working on and I go to clone the repo but find 15 or so commit messages on the master branch saying "Work on feature x" (not an actual x). This is going to be fun...
-
When you commit your repo with the configure file with keys and tokens and then need to delete the repo and start again1
-
How do you usually divide the commits?
I'm a student and I would like to know your coding preferences at both work and your personal projects. Do you prefer to commit almost fully coded classes or you just rapid-fire all the functions you finished?7 -
sends new dev online read about how to write good commit messages.
does not write a good commit message.
pushes code.
OTL1 -
If git merge automatically performs a commit to the main branch, how do we add a message to that commit?16
-
The hardest part in my job these days is thinking commit and PR messages :/
I believe my code and commits and PRs are always self explanatory, the company doesn't agree apparently.2 -
When you have a linter that runs as a pre-commit task.
The number of times I've fixed errors thrown by linters during a commit and then run `git commit` straight after only to realize I'd forgotten to add the files I modified for the linter fix.2 -
The commit message does not match with the implementation.
Oh come on, I know what the implementation is about. Let just get this merge.3 -
Commit every change, all of them... Yes the "Forgot a ; " MUST be commit... Commit in the DEV branch... Because you aren't ready for the PRODUCTION branch... And backup every night after work...
-
Forget about committing often and end with multitudes of changes. Which then leads to writing a generalized commit message.4
-
In a long git project what u find commit message
"Minor fixes" or "minor code updated"
At the first commit you will find "initial code"
Agree?? -
I hate workmates who commit every thing they have done for the day with one commit which doesn't even explain what they did! Won't you just commit every fucking major change.. Please? Ffs!
-
What's your go to commit message for a large group of changes that encompasses a variety of features?
Mine is "Major Improvement"17 -
alias "phpunit-commit"="phpunit && git add . && git commit"
This have saved me so much time.
- phpunit
- if all GREEN, we add and commit to git
(Yes, theres likely tools for this, and some that run after pushing - but I've already avoided some faulty commits)3 -
Can you use version control on a git repo? I mean put a git repo inside a git repo so you can commit while you commit... :P7
-
i present to you:
'made fuzzysearch more precisely'
while being technically true this tipsy commit is a bit strange in hindsight. -
Was exhausted after coding for a full day, was going to commit all the work at the end of the day. Then my brain snapped: wanted to hit `git add .`, hit `git checkout .` instead.
Lesson learned (the hard way): "commit fast, and commit often"1 -
Had a debate with a colleague today over git commits, I had 24 outstanding and he had 15. We came up with a little game...
Who can create the most changes for a single commit. The winner is the one who can remember what each change was without looking at the changes.
Needlessly to say, we both lost 😂 -
I always ask my teammates to git by saying
"git commit repeat"
I need a more catchy line to using which I can ask them to git.
Can you suggest?4 -
git cherry-pick -n <commit>
The "-n" is alias for "--no-commit" and it applies the content of the target commit into your working directory without making any commit. Usefull if you want to cherry-pick many commits, tweak them and make a new one or simply want to grab some functionality into your index.
What's yours well-appreciated but not-that-well-known git functionality?3 -
Cherry picked my first commit today, am proud.
Luckily I'd done all the work for a develop MR in 1 commit and could just cherry pick the 1 commit into master.
Not sure how I'll go with a commit range lol -
!rant
To embrace the TIFO (today I found out)
$git rebase -i <hash>^
You can reorder commits and squash.
I just used it, to amend a commit that was not HEAD with some changes I’ve done later.12 -
What is your team’s practice when it comes to putting ticket numbers in your commits and branch names? Is it optional for your branch naming? In your commit message, do you put it at the beginning or end of a commit message?3
-
Has anyone experience with
pre-commit/pre-commit
Is it worth checking out?
https://pre-commit.com/
https://github.com/pre-commit/... -
Since we are sharing some of our more interesting commits, what do people think of these commits?
General: pro.user update
297af8f
Refactor: Hide and show Spin Boxes on Normalization
6a4e1f3
Refactor: Dynamic resizing refactoring
964f0ae
Refactor: Dynamic resizing across any screen
5890a35
GUI: Measure screen size and assume the proper size.
13f2cb4
Fix: guitest.cpp has been reafactored
5cbc1b4
Dir: Clean unused directory
32c8384
GUI: Hide and show Spin Boxes on Normalization
84db444
Commits on Jun 28, 2016
GUI: Make boxes more bolded
3d23952
General Commit: 11:03 PM 6/28/2016
678c249
Del: build from previous commit
e428041
Fix: Guitest's compiled code was broken
25f546f
GUI: Make window scrollable.
07091fd
Adjust; Changing directory tree -
When you have to do your commit 3times because xcode don't want to commit only 2files of your project 👌 #fml6
-
I hate it when colleagues name their commits with a non descriptive name like "minor changes", "minor fixes", "small changes" and so on. I know that good naming is a difficult task in software development, but do I expect to much when I want them to explain shortly what exactly they changed since the last commit?
Good commit messages are always helpful if you want to do good PR reviews and furthermore if you want to go back to an older commit because someone fucked something up.
Don't get me wrong, my colleagues are great people and great developers, but some of them ignore the fact that good commit messages might be useful in the future for others and themselves -
How can I make a bot which makes a single commit everyday at a specific time for a particular repository?
The commit can be anything like insertion in readme or creating a new file.
I tried to accomplish this using python selenium I deployed it on heroku, the problem I am facing is github doesn't allows to crawl on it so it sends a verification code to me on mail and all my further selenium actions fail due it this.☹️26 -
To the ones using GitLab CI/CD:
Is there a way to trigger a pipeline run on a specific commit? Like in a situation where you're deploying every commit to master into prod, and you need to roll back, but without reverting the commit history.14 -
And someday someone will ask you how to compile with commit to git a project and then you'll die imploding.
-
What a day. I was cleaning up some of my styling tweaks for this react app; removing superfluous rules, nailing some hard to pin alignments that have been off up until now, and removing unused files and code in general.
I managed to delete an entire folder. I'm not sure how I did it, but apparently I had highlighted the folder when wanting to just delete one file via vs code. This was hours of uncommitted (yeah, my bad) tweaks and cleanup.
But - I still have the app loaded in my browser. I can't see the prebuilt source code, but I can see the compiled, raw main.chunk.js which gives me the exact code albeit not in the format I need.
So that's my day. Re-tweaking, re-adjusting everything while working my way down a compiled javascript file from top to bottom while explaining to my team why I haven't pushed my changes that I was just going to clean up.
Now I'm having a beer.3 -
Guys, about Continuous Integration/Delivery using SVN as repo... What is the best approach? It would be nice if it could trigger the files that should come to prod by commit message or something like that...
Thank you.3 -
I wanted to edit an older commit message, but the instructions were just overwhelming. So I simply made a new commit with the updated message bwhahaha !2
-
git commit -m "The test core dumps, I go home" && git push
(OpenSSL is like running a marathon: It's just some month away and you already forgot how much fucking pain it was. Nah, can't have been that bad. Shit, it is.) -
if i get a nerdy girlfriend just know i smashed the day before each day where i commit 5+ times on github2