Explore >> Select a destination


You are here

mark.biek.org
| | vlad.website
4.7 parsecs away

Travel
| | Sometimes, you want to add some code to test something out, but you definitely want to make sure you don't git commit it. Of course, you should always check the output of git diff before you make a commit (you do, right?), but if you have a lot of changes things can slip through the cracks. A solution is to write a comment containing a string such as "nocheckin": function do_stuff() { printf("hello!!! testing!!!\n"); // nocheckin call_important_thing(); call_other_thing(); } Then, you need to set git up such that it refuses to make a commit if it detects the "nocheckin" string anywhere in your changed files. Here's how to do it.
| | github.com
4.2 parsecs away

Travel
| | Sample code illustrating the VS Code extension API. - microsoft/vscode-extension-samples
| | kewah.com
4.5 parsecs away

Travel
| | How we use ESLint and Prettier to share the same coding style across repositories
| | jonbeebe.net
14.0 parsecs away

Travel
| My preferred settings for ESLint and Prettier for React, JavaScript, and TypeScript development, with a setup guide.