V
V
Vadim2019-01-10 15:42:16
git
Vadim, 2019-01-10 15:42:16

How to overwrite dev branch from master?

It so happened that the master branch was changed, but the dev branch remained untouched. After the holidays, we decided to overwrite dev in order to fully work on the test server, and writing down the changes and transferring them to the test server does not give conflicts. How can I overwrite a branch on both github and server

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Demian Smith, 2019-01-10
@search

git checkout dev
git reset --hard master

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question