From 04d0b61c8c2a30036f7df4dfab8102bab1c405e3 Mon Sep 17 00:00:00 2001 From: Flancian <0@flancia.org> Date: Wed, 29 May 2024 14:19:58 +0200 Subject: [PATCH] autopushed --- journal/git rebase.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 journal/git rebase.md diff --git a/journal/git rebase.md b/journal/git rebase.md new file mode 100644 index 000000000..766a5a28b --- /dev/null +++ b/journal/git rebase.md @@ -0,0 +1,7 @@ +- from https://strongbox.github.io/developer-guide/git/rebase-vs-merge.html, the [[golden rule of rebasing]]: + +``` +The Golden rule of Rebasing +So, before you run git rebase, always ask yourself, “Is anyone else looking at this branch?”. If the answer is yes, take your hands off the keyboard and start thinking about a non-destructive way to make your changes. Otherwise, you’re safe to re-write history as much as you like. +``` +