Last active
August 29, 2015 14:21
-
-
Save wiber/57c887d3d9c945d41f80 to your computer and use it in GitHub Desktop.
yS.sh
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
TEST=$(pwd) | |
echo $TEST | |
username="$1" | |
organisation= "$2" | |
folderName=$organisation | |
echo $folderName | |
# not hashrepublic here, that's the name of workspace, curious | |
homeDir=$TEST | |
#"/home/ubuntu/workspace/github" | |
packageDir="$homeDir/$folderName/packages" | |
appPackDir="$homeDir/hashrepublic/Tapmate" | |
echo $username | |
echo $folderName | |
echo $homeDir | |
echo $packageDir | |
echo $appPackDir | |
cd $homeDir | |
echo $PWD | |
cd $folderName | |
#push all the packages repos | |
cd packages | |
cd youiest:big | |
git config user.name $username | |
git status | |
cd .. | |
cd youiest:follow | |
git config user.name $username | |
git status | |
cd .. | |
cd youiest:unionize | |
git config user.name $username | |
git checkout trini | |
git status | |
cd .. | |
cd youiest:feed | |
git config user.name $username | |
git status | |
cd .. | |
cd youiest:vote | |
git config user.name $username | |
git status | |
cd .. | |
cd youiest:recommend | |
git config user.name $username | |
git status | |
cd .. | |
echo $PWD | |
echo $packageDir | |
echo 'should be the same!' | |
cd .. | |
echo $PWD | |
cd hashrepublic | |
cd Tapmate | |
git config user.name $username | |
git status | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment