Skip to content

Commit f5f2380

Browse files
authored
fix: not use /github as default home directory to prevent conflicts (#11)
1 parent aa73859 commit f5f2380

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
@@ -31,7 +31,7 @@ fi
3131
echo "SOURCE=$SOURCE_REPO:$SOURCE_BRANCH"
3232
echo "DESTINATION=$DESTINATION_REPO:$DESTINATION_BRANCH"
3333

34-
git clone "$SOURCE_REPO" source --origin source && cd source
34+
git clone "$SOURCE_REPO" /root/source --origin source && cd /root/source
3535
git remote add destination "$DESTINATION_REPO"
3636

3737
# Pull all branches references down locally so subsequent commands can see them

0 commit comments

Comments
 (0)