Skip to content

Commit aae584d

Browse files
authored
Merge pull request #5 from rasodu/detect-full-git-url
Look for @ sing in the repository name.
2 parents c388e4c + 21a1c0b commit aae584d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-sync.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ then
1717
SOURCE_REPO="https://github.com/${SOURCE_REPO}.git"
1818
fi
1919
fi
20-
if ! echo $DESTINATION_REPO | grep '.git'
20+
if ! echo $DESTINATION_REPO | grep -E '.git|@'
2121
then
2222
if [[ -n "$SSH_PRIVATE_KEY" ]]
2323
then

0 commit comments

Comments
 (0)