I'm working on a contract for a company that has their own git repository. I'd like to allow my team to work on the project, and then push all changes to the company repository all under one account (no history from other team members). Is this possible? Or am I stuck manually copying the files over into the directory and committing the changes?
Asked
Active
Viewed 29 times
1 Answers
0
then push all changes to the company repository all under one account
Yes, if you create (each time you want to push back) a new repo from a git filter-branch
applied to your current repo (with commits from multiple collaborator)
A filter-branch will be able to rewrite the committer and author information in order to rewrite the repo as one done by only one user.
See this question as an example.
Make sure to try and preserve the commit date as well.