Sometimes, it is necessary to performed a push force in our repositories, but you need to be really careful because this action will overwrite all, so you need to know what you are doing.
This is the code:
git push -f <remote> <branch>
e.g
git push -f origin my_new_feature
No comments:
Post a Comment