From: Dima K. <gn...@di...> - 2025-04-04 17:16:37
|
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. To make it easier, I made the gnuplot1 repo, and pushed it here: https://github.com/dkogan/gnuplot1.git so all you need to do is - git remote add gnuplot1 https://github.com/dkogan/gnuplot1.git - git fetch gnuplot1 That's it |