mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Fix rebase take II.
This commit is contained in:
+1
-1
@@ -291,7 +291,7 @@ def rebase_main_onto_current_branch
|
|||||||
UI.message("Current branch: #{current_branch}")
|
UI.message("Current branch: #{current_branch}")
|
||||||
|
|
||||||
# Switch to main and update it
|
# Switch to main and update it
|
||||||
sh("git checkout -- .")
|
sh("git reset --hard")
|
||||||
sh("git checkout main")
|
sh("git checkout main")
|
||||||
sh("git pull origin main")
|
sh("git pull origin main")
|
||||||
sh("git rebase #{current_branch}")
|
sh("git rebase #{current_branch}")
|
||||||
|
|||||||
Reference in New Issue
Block a user