I have constant problem with different content in git. Local version is sometimes different from the remote (on git server) because some addition directly on Github.
Can you tell me for good how can I force git to accept only my local version when issuing a command: git push… (Even though some changes were made directly on Github website? I have heard about rebase parameter. I don’t want to merge contents, just force to push the local content to GitHub.
Thank you.
Tried to solve the issue looking for an answer in the internet but there were many solutions. Ok
Maciek L is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.