From da06427cb6bfc2fdd73f47eda826f37e7d27a434 Mon Sep 17 00:00:00 2001 From: Takuya N Date: Tue, 19 Apr 2022 11:12:51 +0900 Subject: [PATCH] Replace Git URL with the new one (#17321) Signed-off-by: Takuya Noguchi --- scripts/clean_fork.sh | 6 +++--- scripts/sync_fork.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/clean_fork.sh b/scripts/clean_fork.sh index 1908724a9..dbad5c138 100755 --- a/scripts/clean_fork.sh +++ b/scripts/clean_fork.sh @@ -1,8 +1,8 @@ #!/bin/sh set -e # clean up the fork and restart from upstream -git remote add upstream https://github.com/thepracticaldev/dev.to +git remote add upstream https://github.com/forem/forem.git git fetch upstream git checkout main -git reset --hard upstream/main -git push origin main --force +git reset --hard upstream/main +git push origin main --force diff --git a/scripts/sync_fork.sh b/scripts/sync_fork.sh index 1f3a7ea7e..28257b6ed 100755 --- a/scripts/sync_fork.sh +++ b/scripts/sync_fork.sh @@ -2,7 +2,7 @@ set -e # sync this fork with upstream to get the latest changes -URL="https://github.com/thepracticaldev/dev.to"; +URL="https://github.com/forem/forem.git"; if ! git config remote.upstream.url > /dev/null; then echo "Adding remote ${URL}" git remote add upstream $URL