Last active
August 29, 2015 14:21
-
-
Save jkuchar/ec8d7e6dd491c242cd04 to your computer and use it in GitHub Desktop.
git push all in this directory
This file contains 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 characters
{ | |
"require": { | |
"nette/nette": "^2.3" | |
} | |
} |
This file contains 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 characters
<?php | |
require "vendor/autoload.php"; | |
use Nette\Utils\Finder; | |
$baseDir = __DIR__; | |
foreach(Finder::findDirectories('*')->in(".") AS $dir) { | |
echo $dir."\n"; | |
chdir($dir); | |
`git push --all origin`; | |
chdir($baseDir); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment