I have a main branch from REPO1 and want to copy the code to the main branch from REPO2 without the history, commit massage or anything else.
I tried to mirroring the repository but got all commits, history and branches too.
I have no idea how i do this in the terminal and now i am to scared to try anything by myself because its GIT.
New contributor
Aixi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.