I have been converting old SVN repos to GIT. I have gotten the branches and tags to convert. Including making SVN tags real tags in GIT.
However, I would like to add a gitignore to the very first commit in the newly created GIT repo. I want it to be as if the file had always been there. So all the commits that followed (on master or in branches) would now have this file as the parent tree(s) would lead back the the first commit.
It seems that some form of git rebase or git filter-branch --tree-filter is what I need. I have tried each of these but I end up with disconnected branches.