Last active
April 18, 2024 06:46
-
-
Save hraban/10c7f72ba6ec55247f2d to your computer and use it in GitHub Desktop.
Prevent accidentally committing debug code in Git
In case you want to mark an entire file as NOCOMMIT you can put it in the file name. The d catches that.
…On Sun, Feb 11, 2024 at 6:09 AM, Stas Pozdnyakov ***@***.***(mailto:On Sun, Feb 11, 2024 at 6:09 AM, Stas Pozdnyakov <<a href=)> wrote:
@netslow commented on this gist.
---------------------------------------------------------------
why there is symbol d in regex ^[+d].*NOCOMMIT ?
—
Reply to this email directly, [view it on GitHub](https://gist.github.com/hraban/10c7f72ba6ec55247f2d#gistcomment-4890195) or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AABBU7CUXJROLE5FA6LDH4TYTCRGLBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVAZDEMJYGU2TIMFHORZGSZ3HMVZKMY3SMVQXIZI).
You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for [iOS](https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675) or [Android](https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub).
ok, thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
why there is symbol d in regex ^[+d].*NOCOMMIT ? In which cases diff can return lines starting with d?