dpkg/ren-branch.sh

5 lines
103 B
Bash

git branch -m ${1} ${2}
git push origin ${2}
git push origin :${1}
git push --set-upstream origin ${2}