Be a man.
‘git commit -am “changes”’
50 0 ReplyAt this point just create a script or alias called "fuckthis" that does that and then push direct to main
37 0 ReplyPR reviews take the most time, eliminating those saved us loads of time.
QA were also bogging us down, axed them too. Now we’re flying.
The Social Security Infrastructure rebuild should be done in a matter of weeks! At least that’s what Copilot says.
34 0 ReplyI have auto save on. A cron job running every minute with just git add . && git commit - m "wip"
26 0 ReplyHave the name of the alias be "gti" or "gut"
19 0 Reply
And any project worth their salt will reject it for two reasons:
- Unclear message/changes (potentially too many changes at once)
- Not signed
6 0 ReplyI’ve got signing auto enabled though
5 0 Reply
5 0 ReplyDoesn't work for me idk why, it'll ignore the message, and i have to commit again before i can push
2 0 Reply
I like
git add
because then you can dogit diff --staged
22 0 ReplyYes yes, combined with
git add -P
makes small, meaningful commits so much easier.7 0 ReplyCheck out magit!
5 0 Reply
... What's
git merge
look like?12 0 ReplyTenerife incident.
18 0 Reply... incident
2 0 Reply
grow up, use "git add -p" and craft perfect artisanal commits
10 0 ReplyReal 10x vibe developers use https://jj-vcs.github.io/jj/latest/, no need to add or commit!
10 0 ReplySo is easier to push direct to prod? Hell yeah!
7 0 ReplyWith jj you're always the prod whatever you do! Feel free to break that fucking CI.
4 0 Reply
i'm sure there are much better tools available, but i'm just used to git gui where rescan, commit and push all are in order.
6 0 ReplyEvery bloody time, though this case the people not on the Ryanair flight may be the lucky ones. If only git was the most unnecessarily arcane thing devs have to/choose to work with.
5 0 ReplyI specifically have a oh-shit alias for this kind of stuff lol: https://code.wedotstud.io/patrick/dotfiles/src/commit/c2f93629fe27d1747ceb22b4d6442840d109aa99/.gitconfig#L28
4 0 ReplyUse Jujutsu
jj
and you won't have this problem4 0 Replylazygit
is pretty cool too.4 0 ReplyI set this up for seamless commits:
function gao() { git add . git commit -a -m "$*" git push origin `git rev-parse --abbrev-ref HEAD` }
Usage: gao fixing a typo
2 0 ReplyJujutsu time 😁
2 0 Reply