It's even worse than it appears.
Friday October 18, 2019; 10:53 AM EDT
  • I'm working on a project using simple-git in Node, and have what I think should be a simple application, not sure how to do it. #
    • I have a local called myAppFolder containing the source for an application. Various JavaScript files, a package.json, folders for user data and stats. #
    • A location on GitHub, a repo called test2 with a folder whose path is helloworld/ that is meant to have the most up to date version of the files from the location on GitHub. #
    • It's a one-way sync, from the server to the local folder. #
  • I have code that clones the repo, but that gets a copy of everything in the repo. #
  • I just need to keep up to date with one folder. #
  • Any help much appreciated.#
  • PS: I opened this as an issue on the simple-get repo. #

© 1994-2019 Dave Winer.

Last update: Friday October 18, 2019; 11:25 AM EDT.

You know those obnoxious sites that pop up dialogs when they think you're about to leave, asking you to subscribe to their email newsletter? Well that won't do for Scripting News readers who are a discerning lot, very loyal, but that wouldn't last long if I did rude stuff like that. So here I am at the bottom of the page quietly encouraging you to sign up for the nightly email. It's got everything from the previous day on Scripting, plus the contents of the linkblog and who knows what else we'll get in there. People really love it. I wish I had done it sooner. And every email has an unsub link so if you want to get out, you can, easily -- no questions asked, and no follow-ups. Go ahead and do it, you won't be sorry! :-)