So I have a comment "Commit comment" in my html that I adjust a capitalization on then push again.
Works 100% of the time
I expect to end up in the 500k commits club
11–20 of 59 posts
So I have a comment "Commit comment" in my html that I adjust a capitalization on then push again.
Works 100% of the time
I expect to end up in the 500k commits club
It's not hard. I use git add ., git commit -m "asdfghj", git push as my save. Exactly like I press Cmd+S in Photoshop all the time. So naturally I end up with a ridiculous amount of commits.
so much this
"A lot of times the concerts weren’t sold out at all, but we pretended it was. It was just a lie. Pretty much 100% of our traffic came in through AdWords, people would search “Something-something concerts tickets”, got an ad from us, and be duped in to buying them at ridiculous prices." Sounds very scummy.
It gets worse > At one point I learned that one company we connected with would literally just invent concerts: they would guess “they’re probably doing a tour next year” and start “pre-selling” tickets for it at extraordinary prices.
I have this rails app that behaves really weird on Heroku, where every build fails the first time. So I have a comment "Commit comment" in my html that I adjust a capitalization on then push again. Works 100% of the time I expect to end up in the 500k commits club
Edit: this is mixing up two things, what you want in this case is "git commit --amend -C HEAD && git push -f", i.e. replace the current commit with a new hash and force push.
Alternatively you can create an empty commit as above, but that isn't amending.
It's not hard. I use git add ., git commit -m "asdfghj", git push as my save. Exactly like I press Cmd+S in Photoshop all the time. So naturally I end up with a ridiculous amount of commits.
why bother with a message if it's just garbage?
"A lot of times the concerts weren’t sold out at all, but we pretended it was. It was just a lie. Pretty much 100% of our traffic came in through AdWords, people would search “Something-something concerts tickets”, got an ad from us, and be duped in to buying them at ridiculous prices." Sounds very scummy.
The author agrees “I very much regret working on this First job, insecure about your career prospects and whether you’re able to get a new job, and it becomes easy to rationalize these things to yourself.”
Let's hope karma exists.
Earlier quoted context omitted.
Because a message is mandatory to be able to make a commit.
Someone above mentioned: git commit --amend --allow-empty
[1] To be precise, it allows to create a commit that has the same tree as the parent commit.