docbrown/scripts/clean_fork.sh
Takuya N da06427cb6
Replace Git URL with the new one (#17321)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-04-18 22:12:51 -04:00

8 lines
219 B
Bash
Executable file

#!/bin/sh
set -e
# clean up the fork and restart from upstream
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