Git production and master is not the same

I usually work on my master’s department and click on Production. I accidentally worked on Production forked and deployed the application. Now my version has the latest version, the Wizard has an older version.

What do I need to do to update the core server files in the same way as Production? What commands to issue?

I will be careful and will only work at the Master branch in the future. Thank.

+3
source share
2 answers

Make the current branch masterand run

git product merger

or

git rebase production

See merge vs rebase for differences.

+3
source

, , ( rebase), , .

progit.org , git , , .

+1

Source: https://habr.com/ru/post/1775953/


All Articles