Re:Beej's Guide to Git
by rstuart4133 on Tuesday February 11, 2025 @11:11PM
(#43021805)
:cq is useful in a shell loop that compares two directory trees that invokes vim to let you see what's changed in every file that's different. I use it often:
Typing ^C to vim doesn't get you very far, so if you make a mistake causing the loop to return 1000's of files you are in for a bit of pain without :cq. The :cq triggers the break, exiting the loop.
[ Parent
| on HN ]
There are no comments on this comment yet.