Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: [OT] Source code repositories

by RonW (Parson)
on Mar 23, 2015 at 16:16 UTC ( [id://1121012]=note: print w/replies, xml ) Need Help??


in reply to Re^2: [OT] Source code repositories
in thread [OT] Source code repositories

My experience with trying to sync Git between my PCs was less than satisfactory. Maybe it's gotten better.

The article you linked had the following:

I was put off by the shell/Perl/Ruby scripts I got with Git. Try taking a peek at the git-instaweb.sh file if you want to know what I mean: it is a shell script which generates a Ruby script, which I think runs a webserver. The shell script generates another shell script to launch the first Ruby script. There is also a bit of Perl, for good measure.

While I was amused at the Perl comment, overall it seems to confirm my earlier experience with Git.

With Fossil, on one PC I can run fossil server&, then on the other, fossil pull (or "push" or "sync"). Actually, I leave the Fossil server running on both PCs so I can sync from either one (or even turn on "auto sync").

Replies are listed 'Best First'.
Re^4: [OT] Source code repositories
by Your Mother (Archbishop) on Mar 23, 2015 at 16:37 UTC

    I’ve used/installed git on PC, OS X (command line and GUI), and two flavors of, Linux without ever having any issues. Though I’ve never tried to do any auto-syncing so maybe that is a problem(?). I’ve heard nothing but good things about Hg.

      In the last 5 years, I've only used Git or Hg when contributing to projects that already used one of those. And only for small things I could do quickly. so, basically, clone from the project's main repo, make my change/fix, update, merge then submit a patch or pull request. (Then usually update, make requested "tweaks", update/merge and re-submit. Repeat until accepted, rejected or I decide enough is enough.)

      I've not tried git push/pull between my PCs since 2009, so, there's been time for that to improve. (Have never tried with Hg.)

        Git is so easy to use that i always use it to start new projects and keep . files backed up in my home dirs.

        $ module-starter --module=Foo::Bar --author=Foo --email=foo@bar.com $ pushd Foo-Bar $ git init $ git add . $ git commit -m'init' $ #optionally push to github or other upstream repo

        Really ... it is just too easy and cheap not to do this every time i do anything and everything.

        jeffa

        L-LL-L--L-LL-L--L-LL-L--
        -R--R-RR-R--R-RR-R--R-RR
        B--B--B--B--B--B--B--B--
        H---H---H---H---H---H---
        (the triplet paradiddle with high-hat)
        

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1121012]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-16 05:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found