3 ms·
Do you have those commands handy by chance? :D
by mbarneyme 5y ago
Do you have those commands handy by chance? :D
- jasonpeacock 5y agoIt'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.
- glenjamin 5y agoYou can use `-v` on the add to see what it’s doing instead of the extra status
- dilap 5y agoSure thing https://gist.github.com/erinok/0247c134a57acdb2e2daafdf1d77a494 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)