|
From: Ethan A M. <me...@uw...> - 2025-04-06 21:59:54
|
On Friday, 4 April 2025 09:59:31 PDT Dima Kogan wrote: > > Ethan A Merritt <me...@uw...> writes: > > > [~/git/gnuplot-main] git checkout --detach 1.1 > > HEAD is now at 2f87cf77c Content from historic/gnuplot-1.1.tar.gz > > ========================================================= > > > > But I have no idea how to add this version 1.0 snapshot to the > > repository so that it matches the others. Does anyone know an > > appropriate set of git commands? > > If you insert the new 1.0 code into the tree, that will change all the > commit IDs downstream of it (i.e. everything we're actively working on > now). So I'd add 1.0 by itself in its own root. So 1.1 wouldn't be a > child of 1.0, but since this is all for historical archiving, that > doesn't really matter. > > You can do this by > > - Creating a brand-new repo (let's say in /tmp/gnuplot1), and adding the > gnuplot 1.0 code and the "1.0" tag there > > - In your main gnuplot tree, add this as a remote > > git remote add gnuplot1 /tmp/gnuplot1 > git fetch gnuplot1 > > Now the "1.0" tag has been ingested into your tree, and if you "git push > --tags", you'll send all your tags (including this one) to sourceforge. > That's it. Thanks. I messed up a couple of times but eventually got it. I think. Ethan |