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/3e13eeef1a47d2c37d80 to your computer and use it in GitHub Desktop.
Save wiber/3e13eeef1a47d2c37d80 to your computer and use it in GitHub Desktop.
yDiff.sh
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