I cloned an existing project repository through github, which copied all the stories and commit branches. I would like to delete the entire commit history from the branch of the cloned project wizard and save the commit history from the branches I worked with (see. Diagram). The project is as follows:
A [master]
\
B [branchDevelop] ________
\ \
C [branchFeature1] D [branchFeature2]
I tried reloading and crushing commits in the main thing, but I continue to encounter merge conflicts. Also, if I remove .git and reinitialize the project, I will lose my branches. How to delete the wizard commit history and save the development branches and commit that I'm working on?
source
share