aboutsummaryrefslogtreecommitdiff
path: root/programming
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2026-03-01 18:18:28 +0100
committeralex <alex@pdp7.net>2026-03-01 18:18:28 +0100
commit6babcc77e68cfd3e7920a72172e684185f2e427e (patch)
treec3da3e71ff3344903cbdcfd9e6ea93a17a5533d2 /programming
parent35347f81666233037f6c7a25a9cc7fc519c7897d (diff)
Move git advice to blog website
Diffstat (limited to 'programming')
-rw-r--r--programming/git/git_advice.md22
1 files changed, 0 insertions, 22 deletions
diff --git a/programming/git/git_advice.md b/programming/git/git_advice.md
deleted file mode 100644
index 7dd19818..00000000
--- a/programming/git/git_advice.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# Git advice
-
-## Never use `git commit -m`, use `git commit -v`
-
-Configure your system so that `git commit` opens your preferred editor.
-
-With `git commit -v` you can see your commit diff while writing your commit message.
-This helps you review that your commit is correct and write a better commit message.
-
-## Use gitignore properly
-
-See <https://git-scm.com/docs/gitignore>.
-
-Note that by default, Git defaults to `$XDG_CONFIG_HOME/git/ignore` or `$HOME/.config/git/ignore`.
-
-## Use the modern Git commands (or teach them)
-
-Particularly, `git checkout` has many functionalities that now can be handled by more focused commands like `git switch` and `git reset`.
-
-If you have too much muscle memory and are used to them, then consider learning them only to teach other people so that they start with the safer commands.
-
-Many Git commands print suggestions that use the newer commands.