Skip to content

Instantly share code, notes, and snippets.

@wiber
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wiber/57c887d3d9c945d41f80 to your computer and use it in GitHub Desktop.
Save wiber/57c887d3d9c945d41f80 to your computer and use it in GitHub Desktop.
yS.sh
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