X
X
xakslim2018-12-05 17:53:55
git
xakslim, 2018-12-05 17:53:55

Git uncommit changes?

I deployed the project on the server, I got a message that there are no migrations created, I made migrations on the server, added an index and made a commit. I decided to push the changes to the turnip, but I got a message that there is no write access to the turnip. As a result, changes are now being uploaded to the server and they are happening through merge. What can you advise?
5c07e66b10021627610657.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Decadal, 2018-12-05
@xakslim

git reset --hard origin/master - if you didn't push anything that needs to be undone
otherwise git revert and keep in mind that the commits that were in the revert, then the figs will go into the branch until the revert is reverted

V
Vladislav Lyskov, 2018-12-05
@Vlatqa

git reset --hard

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question