<br><br><div class="gmail_quote">On Sun, Jan 1, 2012 at 7:20 AM, Holger Levsen <span dir="ltr"><<a href="mailto:holger@layer-acht.org">holger@layer-acht.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I did this:<br>
<br>
cd $piuparts.git<br>
<br>
# create an empty branch<br>
git symbolic-ref HEAD refs/heads/piatti.git<br>
rm .git/index<br>
git clean -fdx<br>
# add piatti.git as new remote<br>
git remote add piatti.git git+ssh://<a href="http://git.debian.org/git/piuparts/piatti.git" target="_blank">git.debian.org/git/piuparts/piatti.git</a><br>
git fetch piatti.git<br>
# merge master branch from piatti.git into branch piatti.git of piuparts.git<br>
git merge piatti.git/master<br>
<br>
voila. I think this is the way I want to go.<br>
<br>
But: this branch has two directories, home and org which probably should be<br>
moved together with it's README.txt into a subdir, for which we need a<br>
suitable name.<br><br></blockquote><div><br></div><div>I want to make sure I have the workflow right, to get the history you want. So I should:</div><div><br></div><div> - Create the branch you describe</div><div> - Massage the files to match my org and home directory tree</div>
<div> - Commit the changes</div><div> - Merge to the server branch (a null operation this time)</div><div> - move/merge org, home, and README.txt, to, say, the piatti directory in piuparts</div><div> - and commit</div><div>
<br></div><div>so that the timeline is maintained in piatti.git, until such time that you wish to retire that branch. Until then, there is a merge/copy process to get the work done in the reference piatti.git branch into piuparts. Is that right?</div>
</div>