From 4a8fd2ab94d47b45adc34139ee56591b2a17c838 Mon Sep 17 00:00:00 2001 From: tillraab Date: Tue, 10 Jan 2023 15:14:30 +0100 Subject: [PATCH] hello world --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7101317..24a0519 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,9 @@ git checkout master git checkout -b ``` -- remerging with master branch + +- Re-merging with master branch +1) get current version of master and implement it into branch ```shell git checkout master git pull origin master @@ -53,4 +55,10 @@ git rebase master This resets you branch to the fork-point, executes all commits of the current master before adding the commits of you branch. You may have to resolve potential conflicts. Afterwards commit the corrected version and push it to your branch. -Push changes into master-branch. +2) Update master branch master +- correct way: Create +```shell +git checkout master +git merge +git push origin master +```