Basically, there are remote 2 repositories: lets call one private
another company
.
On private
multiple people are actively working.
What I want to achieve is, when pushing to the company
repo, not to include commit history with other people's name and push as one bunch of changes from one name.
Is there any easy way to achieve this using one local repository?
Currently, when I do,
git pull private main
git push company main
It copies whole commit history.