提交 24453279 authored 作者: Thomas Wiecki's avatar Thomas Wiecki

Small improvements to script to clean up.

上级 74af76f9
......@@ -3,13 +3,16 @@
if [ -z "$1" ]
then
echo "Usage: downstream_pr.sh <PR_number>"
echo "Port a specified PR from the Aesara repo to the PyTensor repo. Will create a new branch, adapt and apply the upstream PR, and create a new PR to PyTensor."
echo "Port a specified PR from the Aesara repo to the PyTensor repo. Will create a new branch, adapt and apply the upstream PR, and create a new PR to PyTensor. Requires a remote aesara."
exit 1
fi
set -e
git am --abort
git checkout main
git branch -D downstream_$1
git fetch aesara
set -e
git pull origin main
git checkout -b downstream_$1
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论