Re:Dura is a background process that watches your Git reposi...
by mbarneyme on Monday January 03, 2022 @02:07PM
(#29784870)
Do you have those commands handy by chance? :D
[ Parent
| on HN ]
Re:Dura is a background process that watches your Git reposi...
by dilap on Monday January 03, 2022 @03:59PM
(#29786798)
Sure thing
https://gist.github.com/erinok/0247c134a57acdb2e2daafdf1d77a...
It's a handful of commands because git-cam and git-wip referenced other little utility scripts, so hopefully I got them all. Probably it would be easy to rewrite to be standalone.
I'm on a mac, and I have ripgrep installed as "rg". Ymmv, glhf :-)
So:
"git cam" commits everything with message "nt"
"git wip" undoes all the nt commits but leaves the results staged, ready to be commited as a single properly worded commit (or play w/ what's staged and do as several commits)
Re:Dura is a background process that watches your Git reposi...
by jasonpeacock on Monday January 03, 2022 @02:12PM
(#29784940)
It's usually something like:
git status && git add -A git commit -m "checkpoint" --no-verify
I include `git status` so I can see what's being committed. `--no-verify` is used to skip any pre-commit hooks.