10 lines
156 B
Bash
10 lines
156 B
Bash
#!/bin/sh
|
|
echo "./git/hooks/pre-push"
|
|
git svn dcommit
|
|
|
|
if [ $? -eq 0 ]; then
|
|
echo "Successfully synced to SVN!"
|
|
else
|
|
echo "SVN sync failed!"
|
|
exit 1
|
|
fi |