Update the GIT helper scripts

pull/1/head
Timothy Pearson 13 years ago
parent 93bbe2060e
commit a2610d4e32

@ -21,3 +21,7 @@ read -p "Enter your commit message []: " -e commitmessage
git submodule foreach "git commit -a -m \"$commitmessage\" || true"
git submodule foreach "sed -i \"s/system@scm\.trinitydesktop\.org/$gituser@scm\.trinitydesktop\.org/g\" .git/config"
git submodule foreach "git push origin master || true"
git commit -a -m \"$commitmessage\" || true
sed -i \"s/system@scm\.trinitydesktop\.org/$gituser@scm\.trinitydesktop\.org/g\" .git/config
git push origin master || true

@ -23,6 +23,9 @@ if [[ ! -e "$THISSCRIPT" ]]; then
exit 1
fi
git reset --hard HEAD
git clean -dxf
git pull
git reset --hard HEAD
git clean -dxf

Loading…
Cancel
Save