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. +``` +