Skip to main content
deleted 4 characters in body
Source Link
Chris Kooken
  • 34.1k
  • 15
  • 93
  • 130

You have two options:

The first is a merge, but this creates an extra commit for the merge.

Checkout each branch:

git checkout b1 

Then merge:

git merge origin/master 

Then push:

git push origin masterb1 

Alternatively, you can do a rebase:

git fetch git rebase origin/master 

You have two options:

The first is a merge, but this creates an extra commit for the merge.

Checkout each branch:

git checkout b1 

Then merge:

git merge origin/master 

Then push:

git push origin master 

Alternatively, you can do a rebase:

git fetch git rebase origin/master 

You have two options:

The first is a merge, but this creates an extra commit for the merge.

Checkout each branch:

git checkout b1 

Then merge:

git merge origin/master 

Then push:

git push origin b1 

Alternatively, you can do a rebase:

git fetch git rebase origin/master 
added 22 characters in body
Source Link
Chris Kooken
  • 34.1k
  • 15
  • 93
  • 130

You have two options:

The first is a merge, but this creates an extra commit for the merge.

Checkout each branch:

git checkout b1 

Then merge:

git merge origin/master 

Then push:

git push origin master 

Alternatively, you can do a rebase:

git fetch git rebase origin/master 

You have two options:

The first is a merge, but this creates an extra commit for the merge.

Checkout each branch:

git checkout b1 

Then merge:

git merge origin/master 

Then push:

git push origin master 

Alternatively, you can do a rebase:

git rebase master 

You have two options:

The first is a merge, but this creates an extra commit for the merge.

Checkout each branch:

git checkout b1 

Then merge:

git merge origin/master 

Then push:

git push origin master 

Alternatively, you can do a rebase:

git fetch git rebase origin/master 
added 5 characters in body
Source Link
the Tin Man
  • 160.9k
  • 44
  • 222
  • 308

You have 2 Options.two options:

The Firstfirst is a merge, but this creates an extra commit for the merge.

Checkout each branch:

git checkout b1 

thenThen merge:

git merge origin/master 

thenThen push:

git push origin master 

Alternatively Alternatively, you can do a rebase:

git rebase master 

You have 2 Options.

The First is a merge, but this creates an extra commit for the merge.

Checkout each branch

git checkout b1 

then merge

git merge origin/master 

then push

git push origin master 

Alternatively, you can do a rebase:

git rebase master 

You have two options:

The first is a merge, but this creates an extra commit for the merge.

Checkout each branch:

git checkout b1 

Then merge:

git merge origin/master 

Then push:

git push origin master 

Alternatively, you can do a rebase:

git rebase master 
added 165 characters in body
Source Link
Chris Kooken
  • 34.1k
  • 15
  • 93
  • 130
Loading
improve formatting
Source Link
Yuliy
  • 17.8k
  • 6
  • 43
  • 47
Loading
Source Link
Chris Kooken
  • 34.1k
  • 15
  • 93
  • 130
Loading