2015-03-18 16:55:12 +04:00
|
|
|
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
|
|
|
|
|
|
|
function __pdev_branches() {
|
|
|
|
git for-each-ref --format='%(refname:short)' refs/heads |
|
|
|
|
grep -vF master |
|
|
|
|
grep -v '^release-' |
|
|
|
|
grep -v '^hotfix-'
|
|
|
|
}
|
2015-03-19 15:40:19 +04:00
|
|
|
function __prel_branches() {
|
|
|
|
git for-each-ref --format='%(refname:short)' refs/heads |
|
|
|
|
grep -E '^(master$|release-)'
|
|
|
|
}
|