You are not logged in.

#1 2010-06-03 06:55:27

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

git-all: execute on all your repos

I think I posted this in some crippled form on the handy cmd line utilities thread, but I just finished up a pretty hefty rewrite and added a bunch of features. Basically, pass any git command (or any command really) to git-all, and it'll find all your git repos based on a specified root (defaults to $HOME) and perform whatever action you want on them. A job summary is provided at the end. Example:

vNGhsbg

Usage: git-all [options] [command]

   -S    Show repos which have uncommitted changes. If this
          option is specified, all other options are ignored.

   -f    suppress prompting before a custom command is run
   -h    print this help message
   -v    print error output in job summary for failed jobs

 Actions will be performed on $REPOHOME, which defaults to $HOME
 if not specified.

Source @ GitHub

Last edited by falconindy (2010-06-03 23:21:55)

Offline

#2 2010-06-03 07:33:59

pepeapepepe
Member
From: Buenos Aires, Argentina
Registered: 2009-05-13
Posts: 36

Re: git-all: execute on all your repos

Very nice idea, congratulations.

Suggestion: this could be used with the -git PKBUILD's in aur, that would be nice


.--.-.... --. .-.-.-..-.-..--....- .- .-...-... --..-..-... -.-.----. ..-.. ...------....-...-.-----..-- .-....---.-..- --. .-.-.-..-.-.--- .-...-... --..-..-... -.-.----. .-...- -......-...-...-..-..-

Offline

#3 2010-06-03 20:00:36

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: git-all: execute on all your repos

oooh nice colors. i want your .X{defaults,resources}


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#4 2010-06-03 20:26:41

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: git-all: execute on all your repos

Dieter@be wrote:

oooh nice colors. i want your .X{defaults,resources}

http://github.com/falconindy/dotfiles/b … lors/tango

Offline

#5 2010-06-04 14:32:21

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: git-all: execute on all your repos

falconindy wrote:
Dieter@be wrote:

oooh nice colors. i want your .X{defaults,resources}

http://github.com/falconindy/dotfiles/b … lors/tango

thanks, and sorry for the OT but what is this 'xcolors' thing?


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#6 2010-06-04 17:00:25

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: git-all: execute on all your repos

Just a hierarchical organization. I've got them all listed in .Xdefaults, and all but 1 are commented.

!#include ".config/xcolors/dwmrob"
!#include ".config/xcolors/gnometerm"
!#include ".config/xcolors/jasonwryan"
!#include ".config/xcolors/phrak1"
!#include ".config/xcolors/rezza"
!#include ".config/xcolors/rydgel"
#include ".config/xcolors/tango"
!#include ".config/xcolors/zenburn"

Offline

#7 2010-06-04 17:23:32

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: git-all: execute on all your repos

falconindy wrote:

Just a hierarchical organization. I've got them all listed in .Xdefaults, and all but 1 are commented.

thanks buddy. interesting approach, i'm gonna explore your repos at github more wink
and now on topic!


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

Board footer

Powered by FluxBB