Skip to content

Commit 1274852

Browse files
committed
*8759* Add git user and email and avoid merging
1 parent 4a82a9a commit 1274852

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/startSubmodulesTRAVIS.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2+
git config --global user.email "[email protected]"
3+
git config --global user.name "PKP"
24
echo "1 - Retrieving git user:"
35
gitUser=$(cat .git/config | grep -A2 "remote \"origin\"" | grep "url" | cut -f2 -d":" | cut -f4 -d"/")
46
echo " Gituser: $gitUser"
@@ -33,7 +35,7 @@ if [ \( -n "$libModuleHash" \) -a \( "$strLength" -eq 40 \) ]; then
3335
cd lib/pkp
3436
echo "7 - Updating pkp-lib with code from $gitUser repository, $branch branch."
3537
git remote add "$gitUser" git://github.com/"$gitUser"/pkp-lib
36-
git pull "$gitUser" "$branch"
38+
git pull --rebase "$gitUser" "$branch"
3739
exit 0
3840
fi
3941
fi

0 commit comments

Comments
 (0)