Skip to content

Commit

Permalink
fix: not use /github as default home directory to prevent conflicts (#11
Browse files Browse the repository at this point in the history
)
  • Loading branch information
wei authored Apr 23, 2020
1 parent aa73859 commit f5f2380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fi
echo "SOURCE=$SOURCE_REPO:$SOURCE_BRANCH"
echo "DESTINATION=$DESTINATION_REPO:$DESTINATION_BRANCH"

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

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

0 comments on commit f5f2380

Please # to comment.