I have git repo with two unrelated branches, master and configs. I\'ve created configs, purged all the files and then placed in configuration files only. Now I want to push
I needed to do this to send a freelancer some code without sharing private information or deleting my history.
In case any of you are using SourceTree, this is how I managed to do it. Please let me know if I did something wrong or am forgetting something as I am very unfamiliar with source control management.
When I checked bitbucket, it seems that this seemed to have worked and discarded my commit history.
Hope this helps someone out.