Created
November 15, 2012 18:36
Revisions
-
cbrammer revised this gist
Nov 15, 2012 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ Add these files in a bin somewhere that is accessible via your PATH. In any repo you can run `crossmerge B1 B2` for example: `crossmerge dev test` To do this in all repos, to the parent directory of all the repos and run `mergeall dev test` -
cbrammer created this gist
Nov 15, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ #!/bin/sh git checkout $1 git pull origin $1 git checkout $2 git pull origin $2 git merge $1 git push origin $2 git checkout $1 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ #!/bin/sh set -e set -x export B1=$1 export B2=$2 cd Achievements;crossmerge $B1 $B2;cd ..; cd admin;crossmerge $B1 $B2;cd ..; cd api;crossmerge $B1 $B2;cd ..; cd sketch;crossmerge $B1 $B2;cd ..; cd tempest;crossmerge $B1 $B2;cd ..; cd website-main;crossmerge $B1 $B2;cd ..; cd workout-manager;crossmerge $B1 $B2;cd ..; cd log-workout;crossmerge $B1 $B2;cd ..; cd program-manager;crossmerge $B1 $B2;cd ..; cd workout-translator;crossmerge $B1 $B2;cd ..;