Replace Git URL with the new one (#17321)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
parent
c36ba7b6de
commit
da06427cb6
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue