[git-users] Some advice please, automating a repetitive process.

2013-08-08 Thread Alex Lewis
Hi, I'm using git-svn to track an SVN server so my *master* branch is a mirror of the SVN trunk. I have a *develop* branch of *master* which is where I do my work (or branches from *develop*). Some initial commits to the *develop* branch are setting version files to "snapshots" rather than us

Re: [git-users] Some advice please, automating a repetitive process.

2013-08-08 Thread Sam Roberts
/bin/sh script with no bash specifics... IMO. set -e at top to make it bail if any command errors. you can even call it "git-do-my-thing" and install in your path, so its possible to call "git do-my-thing" from the command line, it will look like a git command (obviously, use a better name.. :-).

Re: [git-users] Some advice please, automating a repetitive process.

2013-08-09 Thread Alex Lewis
Thanks Sam. That's a great tip about naming it "git-xyz" so you can use "git xyz"! I assume you're suggesting I use the git commands I posted rather than using plumbing commands? Cheers, Alex On Thursday, 8 August 2013 18:14:39 UTC+1, Sam Roberts wrote: > > /bin/sh script with no bash specific