diff --git a/git_cheat_sheet.md b/git_cheat_sheet.md index 798c3ed..7c3fa17 100644 --- a/git_cheat_sheet.md +++ b/git_cheat_sheet.md @@ -27,7 +27,8 @@ Setzt deine Commits neu auf die Spitze eines anderen Branches. Die Commit-IDs we ```bash git checkout dev -git rebase main +git fetch origin +git rebase origin/main ``` | Details | |