LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-22-2023, 03:10 PM   #16
vinmansbrew
Member
 
Registered: Feb 2016
Posts: 192

Original Poster
Rep: Reputation: Disabled

I looked at git, and it looks like way more than what I need. Just doing 1 single file, local to the server, that gets changed infrequently.
Weighing Monotone and Svn. Just need simple co/ci operation.
 
Old 03-22-2023, 03:59 PM   #17
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,610
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
"git" is an easy-to-use version control system that, very importantly, does not require "a server." The change-history is preserved in a clever collection of hidden files, and, most importantly, this can be kept on any number of computers and easily "synchronized" between them. In this arrangement, there is no "server" sitting out there, pretending to be "the only voice of authority." Quite the opposite. The "authority" is distributed. Every "copy" of the repository stands by itself. It's quite a remarkable and innovative system, and it works!
 
Old 03-23-2023, 03:28 AM   #18
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,692

Rep: Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274
Quote:
Originally Posted by sundialsvcs View Post
"git" is an easy-to-use version control system that, very importantly, does not require "a server." The change-history is preserved in a clever collection of hidden files, and, most importantly, this can be kept on any number of computers and easily "synchronized" between them. In this arrangement, there is no "server" sitting out there, pretending to be "the only voice of authority." Quite the opposite. The "authority" is distributed. Every "copy" of the repository stands by itself. It's quite a remarkable and innovative system, and it works!
and also the ci/co operation is quite simple. Not that difficult at all, just different (it is not CVS or RCS or anything else).
 
Old 03-23-2023, 10:27 AM   #19
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,610
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
"I'd feel utterly naked, anymore," if I were writing software without the constant daily use of git. When I finish writing some new thing or come to a point where I'm not 100% sure what to do next, I do git commit -a. Certainly at the end or beginning of each and every day. "Time for lunch," the same. Even if what I've done is not yet "finished."

No one (see below ...) will ever see that commit but me. Now I know that I can get back to exactly this point.

And, every now and then when I realize that I have just screwed everything up it's time for git reset --hard and try again. "Don't leave home without it."

Usually, this is purely local development that will never be "pushed" anywhere. But, if I am expected to push them to a shared repository, I will do my "lots of individual commits" and then use git rebase to consolidate them into something a little more reasonable, reducing my "many commits" into just one that I can then "push." I also use branches to bookend the various little units of work, then merge them in.

My computer's background backup process (Apple's "Time Machine") sweeps through at least once an hour as it always does, and it captures the repository too.

I have also learned to be very descriptive and talkative in my "commit notes." (As are the comments in my code.) Partly because I have learned to have no confidence that I will actually remember on my own. I keep a "Captain's Log" anyway – consisting of a loose-leaf notebook and a few number-two pencils(!). Because I know that I won't exactly remember the questions that I had or the things that I did, very long after having done them. I have years of such notebooks, and they're interesting reading – now being the writings of a complete stranger.

Things that were "completely clear at the time" can simply be forgotten in their entirety. So, anytime I'm managing a project for a client, I also insist on this. "No, no ... go right now and write it down while it's fresh on your mind! Just write it off the top of your head without thinking about it too much and then hit 'Save.' Don't go back and edit it – just leave it alone." Sometimes, in meetings that occur months later, we go back and read the "Captain's Log" and there's the answer we were looking for. It's pretty amazing.

Last edited by sundialsvcs; 03-23-2023 at 10:39 AM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/rc0.d-rcS.d ?? Wurstkoffer Debian 3 04-17-2004 06:36 PM
RCS for system maintenance Dark_Helmet Linux - Software 1 07-26-2003 07:07 PM
RCS and CVS which to use for configs? Dark_Helmet Linux - Software 0 06-29-2003 12:53 AM
trying to get lilo to autoload in my rcS script Frustin Linux - General 0 04-04-2003 03:46 AM
etc/rcS.d/S100localnet intervention : command not found dj_relentless Linux From Scratch 4 02-04-2002 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration