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 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.. :-). 


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




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.. :-).

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.