Revert "Update permalinks for old daily emails"
This reverts commit a99fa854e1
.
This commit is contained in:
parent
82f437a712
commit
d6d09ab172
34 changed files with 40 additions and 40 deletions
|
@ -8,7 +8,7 @@ tags:
|
|||
- git
|
||||
---
|
||||
|
||||
[Yesterday's email](https://www.oliverdavies.uk/daily/2022/11/20/version-controlled-commented-out-code) talked about whether commented-out code should be present if your code is version-controlled, but how do you avoid committing it in the first place?
|
||||
[Yesterday's email](https://www.oliverdavies.uk/archive/2022/11/20/version-controlled-commented-out-code) talked about whether commented-out code should be present if your code is version-controlled, but how do you avoid committing it in the first place?
|
||||
|
||||
You could make sure that you remove everything manually before you stage and commit your changes, or I like to use `git add --patch` (or `git add -p`) to interactively stage my changes, allowing me to select which parts of files I want to include in my commit and ignore anything else. The `--patch` option also works for other commands, including `checkout` and `reset`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue