From 78e8eecd843946f4e33b84410e52c333bae83b8c Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 4 Jul 2020 23:28:48 +0000 Subject: [PATCH] add rebase by default --- git/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/git/README.md b/git/README.md index d0f05d3..f635c5c 100644 --- a/git/README.md +++ b/git/README.md @@ -40,6 +40,12 @@ This will branch from the branch you're currently on. git checkout -b my-branch-name ``` +### How to rebase by default + +```bash +git config --global pull.rebase true +``` + ### How to rebase > To "rebase" simply means to undo any of your changes, apply updates from -- 2.25.1