I have two repos. One is development which is private and one is official which is public.
I do all my work in development repo and all the commit history is in there. Now i want to merge development into official in one commit but i do not want all the history from development. Just actual code change merge in one single commit.
So far i am not able to find any way of merging repo A into repo B without the history from repo A. I tied http://blog.caplin.com/2013/09/18/merging-two-git-repositories/ but no luck and tried several more like Import a git repository with all its history into an existing git repository