Last active
August 29, 2015 14:21
-
-
Save wiber/3e13eeef1a47d2c37d80 to your computer and use it in GitHub Desktop.
yDiff.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="wiber" | |
organisation="trinisofttechnologies" | |
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 | |
for d in */ ; do | |
echo "$d" | |
cd $d | |
git config user.name $username | |
git status | |
git branch | |
#echo $PWD | |
cd .. | |
done | |
cd .. | |
echo $PWD | |
cd hashrepublic | |
cd Tapmate | |
git config user.name $username | |
git status | |
git diff HEAD | |
echo $PWD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment