We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aae584d + 84e54da commit ca48412Copy full SHA for ca48412
git-sync.sh
@@ -31,6 +31,6 @@ fi
31
echo "SOURCE=$SOURCE_REPO:$SOURCE_BRANCH"
32
echo "DESTINATION=$DESTINATION_REPO:$DESTINATION_BRANCH"
33
34
-git clone "$SOURCE_REPO" --origin source && cd `basename "$SOURCE_REPO" .git`
+git clone "$SOURCE_REPO" source --origin source && cd source
35
git remote add destination "$DESTINATION_REPO"
36
git push destination "${SOURCE_BRANCH}:${DESTINATION_BRANCH}" -f
0 commit comments