So, I'm trying to get around Git and I have a need (why I have such a need, I won’t go into it) to be able to receive files from one repo, via the command line and put them in a completely new repository WITHOUT, taking with me all the previous commit history.
What I'm trying to do at the moment is git init
to create a new repository and then grab the files from my existing repo using either a clone or subtree (I don't have my goal completely around this yet so there might be a wrong bark tree), and then add, commit, and then paste them into my new repository.
git init --- get the files from stock repo --- git add . git commit -m 'Initial commit' git remote add origin <url of my new repo> git push -u origin master
My repositories are all on Bitbucket, if that matters,
source share