Skip to content

Commit

Permalink
ci(all): 修改工程脚本的创建分支逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherso1a committed Oct 22, 2019
1 parent 3fe341a commit 97999ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/feature.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# $3 commit text

if [ $1 == 'c' ];then
git checkout master
git pull
git checkout dev
git pull --rebase
git checkout -b feature/$2
git push --set-upstream origin feature/$2
fi
Expand Down

0 comments on commit 97999ab

Please sign in to comment.