Answer the question
In order to leave comments, you need to log in
What is the best practice in git after deleting a commit for a remote server?
I ran into this complexity
. Suppose I made a local commit, even 2. I uploaded both to the repo, from there it was pulled to the production server.
Now I understand that the second commit was a mistake, I need to roll back to commit 1. The practice of deleting a commit from a repository, especially when two people are working on it, is considered vicious, so the question is - how should I behave here?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question