DaiTengu wrote to Gamgee <=-
Re: First update with GIT
By: Gamgee to Digital Man on Mon Aug 24 2020 10:18 am
On the Wiki, you've updated the "Updating" section to show the changes. I can obviously create the new "repo" directory under /sbbs, but the next step shows simply "git pull". How will my system know where the repository is? Don't I have to have some configuration that defines where to pull from? I think there is an assumption there that it's a new install that was done from git, and I guess perhaps the new GNUmakefile creates that config.... but what if I've been updating via CVS for all this time... (and obviously don't want to do a new install from git).
when you do a git clone, it writes config files into .git/ with information on where the repo is located. You can also set
environment variables and whatnot for git to use, but that's not
required if you're simply doing a "git pull"
But..... I don't *have* a .git directory, because I did not
originally install using git (I used CVS).
anyway, when you are in /sbbs and do a "git pull" it reads the
settings stored in the .git/ directory, that's how it knows where
the repo is.
That makes sense to me, but how do the settings get put into the
(nonexistant) .git directory, if I've not used git before?
I'd recommend holding off a bit on updating with git if you're
not familiar with it. As DM said, it's kind of an all-or-nothing
type system. If you have any changes to files that are in CVS,
they'll get overwitten by the copy command from GNUMakefile. I
can already hear The Millionaire screaming about his text.dat
file....
Yes, I'll be waiting a bit, for sure. I'm assuming that I can
(before updating) copy all my customized files to some safe
directory, and then copy (overwrite) them back into the /sbbs
structure afterwards (as I am already doing with a script).
Thanks, and agreed on the TM thing... ;-)
... Computer Hacker wanted. Must have own axe.
--- MultiMail/Linux v0.52
þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL