A
A
andreys752019-08-22 15:04:01
git
andreys75, 2019-08-22 15:04:01

How to update your branch from master git?

Hey!
I would be grateful for help with git .
There is an a branch, and there is a master branch.
In the master working version.
When you try to merge: git merge a (we are in the master branch), everything goes fine, but when you switch to the a branch, the application stops working correctly. I would like to upload to the branch and the actual working code from the master branch.
I understand that you can create a new branch based on master, but I want to update the branch a
Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2019-08-22
@andreys75

git checkout a
git merge master

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question