A
A
Automat2018-08-20 11:04:24
git
Automat, 2018-08-20 11:04:24

Pull causes conflict need push?

5b7a750177997158832682.png
This is the situation that arose in the project.
1) Why does this situation arise if I do not make changes at home but work only in branches?
2) How to pull the changes in this case? And I don’t care what I have on my car in the master now - I want to overwrite everything with a new one!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Dart, 2018-08-20
@nomotrack

git fetch --all
git reset --hard origin/master

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question