|
You are here |
www.brandonpugh.com | ||
| | | | |
vlad.website
|
|
| | | | | 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. | |
| | | | |
codeinthehole.com
|
|
| | | | | Yet another git tips article | |
| | | | |
brandont.dev
|
|
| | | | | [AI summary] This article explains how to use Git for deploying a static website by setting up local and remote repositories, configuring hooks for automated workflows, and utilizing Git's capabilities to streamline the development and production processes. | |
| | | | |
aykevl.nl
|
|
| | | How to move an installed SD card from a Pi 1 to a Pi 3, or make it possible to use them both. There are a few tricks to get the network running on both devices. | ||