I've to transfert a TFS server to a GIT(Bitbucket) server.
We are currently using git-tfs
to do it, but we are doing some tests before migrating(like configuring jenkins, checkin that everything is correctly transfered).
The issue is that now it seems I cannot run the git push
command because I've the repository that is already filled with a lot of stuff from the previous run.
Is there a way to "reset" the repository(like if I've never done any commit) ? Without deleting it?
I've found this: Clear git repository on Bitbucket? but the issue is that I'm committing 6 years of work, with more than 60 branches, so I cannot just clean them one by one.
I also cannot just delete the repository, we have already configured a lot of things(hooks, connections to jenkins, ...).