I have a few git projects where I clone them and start off with another project based on it. For example, I'll have CodeIgniter set up in my own way (adding htdocs, a conf/ directory with some apache files I can softlink to, etc).
It's somewhat like this:
git workflow - using one repo as the basis for another
So I can clone, then clean off the .git directory, then init, add, commit, clone --bare and scp to the server. That works but it seems like I should be able to do that easier.
So I tried clone, then git remote rm origin
then git remote add origin ssh://...
but I still had to go to my server, create the repo directory and init. This also created the repo in .git instead of just in the top level of the directory (which --bare apparently does).
Am I missing an easier way to do this?
Thanks, Hans