mirror of
https://github.com/obra/superpowers.git
synced 2026-04-23 18:09:05 +08:00
Fix duplicate upstream remote addition when forking
This commit is contained in:
@@ -53,7 +53,6 @@ if command -v gh &> /dev/null; then
|
|||||||
|
|
||||||
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||||
gh repo fork obra/superpowers-skills --remote=true
|
gh repo fork obra/superpowers-skills --remote=true
|
||||||
git remote add upstream "$SKILLS_REPO"
|
|
||||||
echo "Forked! You can now contribute skills back to the community."
|
echo "Forked! You can now contribute skills back to the community."
|
||||||
else
|
else
|
||||||
git remote add upstream "$SKILLS_REPO"
|
git remote add upstream "$SKILLS_REPO"
|
||||||
|
|||||||
Reference in New Issue
Block a user