chore: fix github codesapce init (#11590)

This commit is contained in:
liuyi
2025-04-10 15:33:02 +08:00
committed by GitHub
parent 8e1cbc4c5b
commit bde9abf664
5 changed files with 10 additions and 24 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
set -e
npm install -g @withgraphite/graphite-cli@stable
if [ -v GRAPHITE_TOKEN ];then
gt auth --token $GRAPHITE_TOKEN
fi
git fetch origin canary:canary --depth=1
git branch canary -t origin/canary
gt init --trunk canary